Ok, I got it. Instead of using transit-clj I can user the java library
directly. The reader automatically returns ArrayList and HashMap. Great!
On Thursday, August 7, 2014 8:11:50 PM UTC+2, Thomas Heller wrote:
>
> Both Transit and fressian take a Handler map as arguments to the
> reader/writer
Both Transit and fressian take a Handler map as arguments to the
reader/writer functions/constructors. So its pretty straightforward to
replace the default handlers with handlers that do what you want.
I have no example handy but it should be documented in both libraries.
Transit has something
Hi,
I have a program I wrote who needs to serialize java HashMaps and
ArrayLists to and from disk but AFAIK (and after some simple tests) it
seems fressian writes those maps/lists correctly but read them back as
clojure maps and lists (persistent).
Is there a way to tell fressian (could be tran