Hacker News new | past | comments | ask | show | jobs | submit login

> YAML imo will never beat JSON. The spec is so complex and full of edge cases that it will never reach simplicity and speed of JSON.

Ironically, all JSON documents are valid YAML. YAML is actually a superset of JSON.




Ironically? Fact it's a superset means it has more states and can't be as optimized as JSON.

To compound the misery YAML is whitespace indented with some extra bonkers rules. So even your JSON subset in YAML needs to obey it.

Mix of flow and block makes both modes worse. However it also makes a lot of sense.




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

Search: