- 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
- 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