Skip to content

JSON is order preserving, but should be strictly ordered #27

@sveinse

Description

@sveinse

The json file order is not stable enough. E.g. by following the procedure:

  1. Convert OD -> JSON
  2. Edit OD file with odg edit
  3. Convert OD -> JSON
  4. Compare files (e.g. in PRs) reveal two very different ordered files

This is because the OD file is not stable and thus the JSON files are different. JSON are order preserving.

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