Glad you enjoy! And yes, totally into the cljson->clj [map data] arity.
Alan
On Monday, June 24, 2013 1:50:00 PM UTC-4, Thomas Heller wrote:
>
> Hey,
>
> this looks pretty sweet! I stuck with EDN for now but its way too slow, so
> I'm gonna give this a shot.
>
> One thing: I'm don't think its the best idea to fall back to
> *default-data-readers*, would you be open to adding a second argument to
> 'cljson->clj which takes a map specifying readers? eg. (cljson->clj
> {:readers {"my.ns/test" my-reader-fn}} json-string), basically the same API
> as clojure.edn/read?
>
> Thanks,
> /thomas
>
>
>
> On Monday, June 24, 2013 7:23:26 PM UTC+2, Alan Dipert wrote:
>>
>> Hi all,
>> I'm pleased to announce the release of cljson 1.0.0, a Clojure and
>> ClojureScript data serialization library designed for maximal Clojure data
>> deserialization speed in the browser:
>> https://github.com/tailrecursion/cljson. cljson was designed to take
>> advantage of the native JSON parsing facilities most browsers provide.
>>
>> cljson provides clj->cljson and cljson->clj functions on both platforms.
>> cljson->clj on ClojureScript is roughly 5-6x faster than
>> cljs.reader/read-string, and cljson data is roughly 10% fatter on the wire
>> than EDN.
>>
>> Thanks in advance for your feedback and contributions!
>>
>> Alan
>>
>
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.