Skip to content

More stable JSON: Sort crossRef array #243

Description

@bact

There is a use case that downstream users of license list data need to periodically update license JSON files (see #146).

Currently, the key order in current JSON is fairly stable, by order of creation.
The issue is the order of crossRef array members (see https://github.com/spdx/Spdx-Java-Library/pull/429/changes)

We may like to sort the crossRef array by the order key (integer) to make the JSON output more stable.

Activity

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

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