Hi gurus,

I find clojure can use pr-str and read-string to save/load data. But when I
use read-string to load a instance of a datatype, which is saved to file
using pr-str, an exception thrown.
java.lang.RuntimeException: java.lang.Exception: No dispatch macro for: :
        at clojure.lang.RT.readString(RT.java:1263)
        at clojure.core$read_string.invoke(core.clj:2897)

And I opened the file, it looks like following, I think the second char is
the problem.

#:doctor.domain.Project{:name "mock-name", :stream "mock-stream", .........

please advice, thanks alot.
Jason.

-- 
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

Reply via email to