mvxcvi/clj-cbor <https://github.com/greglook/clj-cbor> is a native Clojure implementation of the Concise Binary Object Representation <http://cbor.io/> format specified in RFC 7049 <https://tools.ietf.org/html/rfc7049>.
CBOR is a binary encoding with the goal of small code size, compact messages, and extensibility without the need for version negotiation. This makes it a good alternative to EDN <https://github.com/edn-format/edn> for storing and transmitting Clojure data in a more compact form. I've been itching to write this library since first reading through the CBOR spec, which is clear and well thought out. This is a native implementation and the library has no dependencies other than Clojure itself, and the current code is 100% covered by tests. I wanted to write this over using one of the existing two or three libraries because they were either based on Jackson, wrapped a Java lib and required interop, were insufficiently flexible with adding new type extensions, or some combination of the three. clj-cbor uses a read- and write-handler approach similar to the ones in EDN and Transit, so type extension is simple. The library uses this same mechanism to provide default support for common types like Dates, Instants, Patterns, UUIDs, URIs, BigIntegers, BigDecimals, Ratios, Keywords, Symbols, TaggedLiterals, and sets. -- 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 --- 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 clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.