java.lang.Exception: Don't know how to write JSON of class java.util.Date
json.clj:367 clojure.data.json/write-generic
However, I have some complex types like java.sql.Timestamp or java.util.Date that fail to get serialised.java.lang.Exception: Don't know how to write JSON of class java.util.Date
json.clj:367 clojure.data.json/write-generic
That's fair enough, it needs to be told how I want those classes serialised...So with clojue.data.json, I believe there is a mechanism using :value-fn to serialise such types, but how do I plug in to Liberator to do that? Or is there something else I should be looking at?