4 ms·
Also becoming commonplace as a config file format.
by Zikes 13y ago
Also becoming commonplace as a config file format.
- mercurial 13y agoYeah. On the other hand, I find YAML much better for this kind of thing. JSON is readable and writable by hand, but it's not terribly nice.
- Zikes 13y agoNo doubt they both have their benefits, however in an environment particularly suited for working with JSON, like node.js, the additional overhead of a YAML (or other) parser may not be desirable.
- mercurial 13y agoWhy not? After all, since JSON is not a proper Javascript subset, you still need to parse it somehow. And as JSON is a proper subset of YAML, you should get by with a YAML parser.
- Ygg2 13y agoI think JSON being a subset of yaml is one of THE biggest mistakes YAML made, second only to making YAML a serialization format.