clojure-liberator/liberator — pull request #63 by nickgieschen (2013-08-27 06:49:49+00:00)
Title: Fix EDN problem with printing type info

EDN was using the render-as-clojure function, which was setting *print-dup* to true, which had the effect of printing type info along with the object. For "{:a 1 :b 2}" for example, it printed "#=(clojure.lang.PersistentArrayMap/create {:a 1, :b 2})". This is invalid EDN (https://github.com/edn-format/edn). EDN does support tags, but the above isn't a tag. For a correct version of EDN from a webserver see https://github.com/tailrecursion/ring-edn. Anyway, this fixes things so it spits out valid EDN.