Skip to content

Stop Alphabetical Sorting? #561

@samsonsite1

Description

@samsonsite1

Hello,
I noticed the JSON writer is sorting my JSON data alphabetically when it writes it out.
How can I stop this from happening?

I am reading in a JSON file and then writing it out again.

Programmically, sure it doesn't matter, but I would like to maintain the original order, as certain items are listed first or grouped together to improve readability.

Sorting them alphabetically destroys readability. The file is very hard to read now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions