3 ms·
In what regard EDN is "better" than JSON? the point of the post was the RFC specification is not tight and there are corner cases. I don't see any rigor in the
by xfer 9y ago
In what regard EDN is "better" than JSON? the point of the post was the RFC specification is not tight and there are corner cases. I don't see any rigor in the given link either..
- keymone 9y agoit is better in regard that: - there exists single reference implementation, which rules out points like scalars not being valid JSON in some parsers despite being part of the spec - it is extensible in a manner that never invalidates the syntax for parsers that do not use corresponding extensions (this is huge actually) - comments are part of the spec, so it essentially replaces both json and yaml - richer set of primitive types - commas are whitespace (best feature ever) the rest should definitely be handled in BNF spec, but the above makes EDN immediately much better than JSON