-
Notifications
You must be signed in to change notification settings - Fork 159
Closed
Milestone
Description
Consider this snippet:
{"@type":1}
The Expansion algorithm doesn't address this case specifically, so I presume the JSON object is not modified during expansion. Same for true
and false
as @type values. However, this would be illegal:
{"@type":[1, true, false]}
This seems to be inconsistent. Why are numbers and booleans allowed as individual type values, but disallowed in arrays?