4 ms·
Please forgive me if off topic. I feel EDN deserves some love. Unsure if it’s lack of awareness or what. Defrecord with type hints is enough for most projects,
by harlanji 8y ago
Please forgive me if off topic. I feel EDN deserves some love. Unsure if it’s lack of awareness or what. Defrecord with type hints is enough for most projects, esp. the data models. The collection types are complete and there are also comments, namespaces, and tags. The grammar is also short, simple and easy.
Spec: https://github.com/edn-format/edn/blob/master/README.md https://github.com/edn-format/edn/blob/master/README.md
Grammar:
https://github.com/antlr/grammars-v4/blob/master/clojure/Clojure.g4 https://github.com/antlr/grammars-v4/blob/master/clojure/Clo... (EDN is a subset of Clojure).
Sorry if this is too fanboy, I just need to assume people aren’t aware when I see this big pile of mud that is JSON.
- igravious 8y agoNo worries, it is slightly off-topic though :) JSON-LD is a JSON format for the serialization of linked data, not a general data interchange format like JSON itself. Presumably an EDN fanboy could come up with EDN-LD without too much trouble if they so desired. I linked this elsewhere but here are nine other RDF serialization formats that you could model EDN-LD on: https://help.poolparty.biz/doc/developer-guide/general-information-on-the-poolparty-api/rdf-serialization-formats https://help.poolparty.biz/doc/developer-guide/general-infor... if it ever comes into being.