Skip to content

[Maintenance]: StringList and StrPropList need classes of their own #5954

@bubblobill

Description

@bubblobill

Describe the problem

For users using macros, StrPropLists and StringLists do not play well with others.
StrPropLists fail when nested particularly with other StrPropLists, rendering their key-value pairs inaccessible.
Gson does not convert them properly to JSON beyond the first iteration.

The improvement you'd like to see

Each should have its own class, being a simple wrapper for either a List or Map.
With classes of their own, Gson has a better chance of serialising and deserialising them in depth.
Writing specific (de)serialisers will ensure better handling if necessary.

Expected Benefits

Improved input and output integrity.
Better user experience.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    code-maintenanceAdding/editing javadocs, unit tests, formatting.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions