Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
seba_dos1
on Sept 11, 2024
|
parent
|
context
|
favorite
| on:
YAML is not a superset of JSON
Same situation as above - a JSON parser that ignores order is a valid JSON implementation.
kazinator
on Sept 11, 2024
[–]
And such a parser could work with that convention. However, if its complementary formatter printed the objects such that that type field doesn't appear first, it wouldn't be correctly implementing the specification.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: