Skip to content

Why must attributes be alphabeticly ordered? #16

@StephanMeijer

Description

@StephanMeijer

Attributes can be included, but are optional. Only items included in the standard can be added to the JSON object, in alphabetical order, after the last property. If the value of an attribute is empty, it should not be included in the object.

Why is this necessary? I mean, genrally JSON encoders/decoders don't spend any time on ordering alphabetically or parsing. So people have to put extra effort in doing things alphabeticly when following this standards documentation.

In reality, that means that people will be building op strings of JSON using String interpolation instead of just using the default encoder of the programming language they are using..

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