Hi!

I was searching for function which converts to and back all clojure
structures like maps, vectors and sequences to serializable java
objects.

But couldn't find any. Is there anyone who already done this?
Note that with maps keywords must be converted to strings (with some
special marker character) and after serialization back to keywords.
Also such conversion must be done with deep recursion. It would be
nice if ordered structures like TreeMaps were respected (I know that
it maybe is impossible due to customizable comparator).

I need that because I'm doing RMI conversation between multiple
instances of REPL (other methods of protocol are not acceptable in my
case).

My proposition for names of such function is pack and unpack.

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

Reply via email to