Transit is probably the best way to do this. https://github.com/cognitect/transit-cljs
On Monday, August 11, 2014, Makoto H. <[email protected]> wrote: > I'm developing rest/json server using clojure/ring/compojure on > server side. I'm also writing clojurescript code for browser client The > client should talk to server with json format. I knew edn is better however > json is necessary since pure javascript clients will talk to the server. > > In that situation, I need to convert cljs map to json and json to cljs > map. What is the best way to do that ? > > BTW. I am using cheshire for clojure on the server side. > > Thanks, > Makoto > > -- > Note that posts from new members are moderated - please be patient with > your first post. > --- > You received this message because you are subscribed to the Google Groups > "ClojureScript" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:;>. > To post to this group, send email to [email protected] > <javascript:;>. > Visit this group at http://groups.google.com/group/clojurescript. > -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
