In Clojure (str {:a 1}) returns "{:a 1}".
In ClojureScript (str {:a 1}) returns "[Object object]".As a result, in order to send data to and from the server I've been doing this: (goog.json/serialize (cljs->js x)). This seems like unnecessary overhead to convert everything a JS object first, is there a technical reason why ClojureScript behaves differently here? Or has this just not been implemented yet? Thanks -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
