I think you should take a look at the transit-Clj README, it has docs and examples.
https://github.com/cognitect/transit-clj/blob/master/README.md On Thu, Sep 25, 2014 at 6:56 AM, Bin Li <leebin1...@gmail.com> wrote: > Hi Guys, > I was playing around the transit library recently , that is what I did: > On client side , which using tansit-cljs (*clojrescript*) : > (def w (t/writer :json)) > (.send xhr > url > "POST" > (transit/write w *{:test :test-value}*) > #js {"Content-Type" "application/transit+json"}) > And from server side , using *clojure *: > I got the string like: *["^ ","~:test","~:test-value"]* > The question is how can I read this transit'ed string back to a map ? > Thanks in advance! > -- > 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 > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.