-
Notifications
You must be signed in to change notification settings - Fork 2
Why must attributes be alphabeticly ordered? #16
Copy link
Copy link
Open
Description
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..
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels