Can you attach a refheap/gist/etc. of the code you are using to send and to receive EDN? That would help a lot in diagnosing your issue.
For what it's worth, we are sending and receiving data, including sets, in the manner you describe, with no issues (other than the one described here: https://github.com/ddellacosta/date-hash-bug, which is unrelated). DD (2014/07/06 4:53), Andrew Nguyen wrote: > I am using a combination of pr-str cljs.reader/read-string to > communicate between the front and backends. Everything has been > working as expected but I'm now trying to send data that contains a > clojure set and pr-str seems to be printing an incomplete string. > > For example, the following map: > > {:a #{:b}} > > results in the following string: > > "{:a%20" > > which then causes read-string to run into an EOF on the backend. > > First, are pr-str and cljs.reader/read-string the preferred > mechanisms to send/receive data on the clojurescript end of things? > > If so, is there something I should be doing differently in order to > send sets back and forth? > > Thanks, Andrew > -- 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.
