Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Kubernetes is a good example. Objects can be read / written as json or yaml interchangeably.


It’s not an example at all. It uses different parsers and renderers for each format.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: