Skip to content

[feature request] serializeToJson(Pretty) with key sorted #8

@mw66

Description

@mw66

Hi,

I think we need add this functionality to easily compare changed json files of different versions, or at least add the option to allow user sort the dict by keys, and save it.

e.g. in Python:

https://docs.python.org/3/library/json.html

>>> print(json.dumps({"c": 0, "b": 0, "a": 0}, sort_keys=True))
{"a": 0, "b": 0, "c": 0}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions