Skip to content

[convert] Sort ed318 JSON by keys#29

Open
mickmis wants to merge 1 commit intomainfrom
10/sort-keys
Open

[convert] Sort ed318 JSON by keys#29
mickmis wants to merge 1 commit intomainfrom
10/sort-keys

Conversation

@mickmis
Copy link

@mickmis mickmis commented Mar 12, 2026

Fix focagis/geoawareness-cis#10

To ensure output consistency this adds the option sort_keys=True to the json.dumps call, which sorts by alphanumerical order the fields by key. This notably ensures that the the geometry key precedes the properties key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Order of keys

2 participants