cheshire icon indicating copy to clipboard operation
cheshire copied to clipboard

Architectural query: msgpack dataformat

Open kbarber opened this issue 10 years ago • 5 comments

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 :-).

kbarber avatar May 25 '14 23:05 kbarber

Sounds intriguing to me.

michaelklishin avatar May 26 '14 07:05 michaelklishin

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

dakrone avatar May 27 '14 12:05 dakrone

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.

dakrone avatar Jul 06 '14 13:07 dakrone

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

nicorikken avatar Aug 31 '15 12:08 nicorikken

:+1:

russellwhitaker avatar Mar 04 '16 21:03 russellwhitaker