Re:JSON is not a YAML subset (2022)
by osigurdson on Friday August 01, 2025 @08:56PM
(#44764065)
Kubernetes is a good example. Objects can be read / written as json or yaml interchangeably.
[ Parent
| on HN ]
It’s not an example at all. It uses different parsers and renderers for each format.
Re:JSON is not a YAML subset (2022)
by osigurdson on Saturday August 02, 2025 @10:53AM
(#44768094)
The parent comment asks the question "Who are these hypothetical lunatics?". I don't know what today's Kubernetes parser does but it seems plainly obvious that Kubernetes would be a consumer of "YAML as JSON superset" parser if it exists. It isn't as though users are expressing different things with JSON than they are with YAML.