3 ms·
Kubernetes is a good example. Objects can be read / written as json or yaml interchangeably.
by osigurdson 1y ago
Kubernetes is a good example. Objects can be read / written as json or yaml interchangeably.
- antonvs 1y agoIt’s not an example at all. It uses different parsers and renderers for each format.
- osigurdson 1y agoThe 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.