dakrone / cheshire

Clojure JSON and JSON SMILE (binary json format) encoding/decoding
https://github.com/dakrone/cheshire
MIT License
1.49k stars 151 forks source link

Architectural query: msgpack dataformat #60

Open kbarber opened 10 years ago

kbarber commented 10 years ago

I work for Puppet Labs on PuppetDB with @senior and we're fans of your library but we're consider support for msgpack as well as JSON for our API.

I've found this: https://github.com/cowtowncoder/jackson-dataformat-msgpack ... we're also taking a gander at the equivalent for CBOR.

My question is more about how you would like to include support for external dataformats, this is not core Jackson but certainly plugs into the framework. In concept this is a little like SLIME, and we'd like to follow your development and somehow plug-in to it. How would you prefer to handle this if we were to contribute something to support cheshire/msgpack, would this be of interest of core, should we should a separate plugin for clojars etc. etc. our goal as OSS developers anyway would be to work with the community and contribute back as much as possible.

At the moment we're still investigating, so no promises yet. Alternatives include non-jackson more msgpack 'pure' serialisation/deserialisation but I'm investigating this route. Our decisions will primarily be based on core performance and streaming support.

Anyway, thanks for your time :-).

michaelklishin commented 10 years ago

Sounds intriguing to me.

dakrone commented 10 years ago

I'm interested in CBOR support, I'm hoping it will be as simple as Smile formatting, I'll look into it!

dakrone commented 10 years ago

Okay, I looked into this, I believe it should be possible to write a generic Cheshire function that will allow you to encode/decode with any factory, so anything jackson supports, Cheshire could support. I'm working on this.

nicorikken commented 9 years ago

What's the current state regarding the supported factories? I'm interested in using the CBOR option.

russellwhitaker commented 8 years ago

:+1: