Hi there,
I am wondering what the best/recommended way to deal with serialization of 
unknown types to JSON with clojure.data.json.  For things like UUIDs and 
SQL Dates, I get errors like this:
java.lang.Exception: Don't know how to write JSON of class java.util.UUID

With Clojure 1.4 is there an extensible way of doing this or should I make 
a wrapper function that converts unknown types to strings and then call 
json-str on the data structure?

Thanks,
Robert


-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to