On Fri, Jan 28, 2011 at 6:50 PM, Mark Engelberg <mark.engelb...@gmail.com> wrote: > > > On Fri, Jan 28, 2011 at 2:09 PM, Stuart Sierra <the.stuart.sie...@gmail.com> > wrote: >> >> Neither defrecords nor structmaps can be printed and read back by the >> Clojure reader. You can work around this by converting them to plain maps >> or using a custom printer that prints the constructor forms. > > So if I don't care about human readability or readability by the "Clojure > reader", what is the recipe for writing an arbitrary Clojure data structure > to a file, and reading it back in?
In a word, ObjectOutputStream. -- 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