The public api mirrors data.fressian api with a few exceptions. Records don't have a generic writer but you can easily append the handlers with the write-record function. There is no inheritance lookup for types so every different type will need it's own handler. The tagged helper functions (tagged-object?, tag, tagged-value) are not included.
I see the use case for Fressian in ClojureScript streaming large amounts of data that has significant structural similarity. Fressian caching capabilities allow large values to be represented as a single integer in the bytestream.
This is my first large ClojureScript library so any suggestions for improvements are welcome.
Thanks to Bendyworks for letting me develop this during my work hours.
Clojars Link: https://clojars.org/longshi
Repo: https://github.com/spinningtopsofdoom/longshi
Peter Schuck
Alex
--
Note that posts from new members are moderated - please be patient with your first post.
---
You received this message because you are subscribed to the Google Groups "ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojurescrip...@googlegroups.com.
To post to this group, send email to clojur...@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.
You received this message because you are subscribed to a topic in the Google Groups "ClojureScript" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clojurescript/xhdrGunEXPE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to clojurescrip...@googlegroups.com.
Relevant JSPerfs (bops is the library used by messagepack-js):
http://jsperf.com/utf8-encoding-methods/2
http://jsperf.com/utf8-decoding-methods/2
Source code for the encoding/decoding methods in the jsperfs:
https://github.com/favila/utfate
That said this is still exciting.