A bunch of the inset samples in documentation (e.g. here for
/api/collection/tree: Collection) shows structures in EDN, or has explanatory Clojure (
;;) comments. I get JSON on the REST API.
Since I could be using Clojure for a client here, getting EDN over the wire would actually be great for me – e.g. easy distinction between sets and lists, getting :keywords as map keys up front – but how, if at all possible, do I set that?
Couldn’t find an “official” EDN mime type, and just setting
Accept: application/edn didn’t do it.