There's no solution here that will be perfect for all cases. But I've made the decision that c.c.json will always "downgrade" Clojure types to the nearest equivalent JSON types. It does not promise round-trip preservation of types not specified by JSON, such as sets. In this case, that means Ratios should become doubles. I've pushed this change to master.
-Stuart Sierra clojure.com -- 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