cheshire
cheshire copied to clipboard
Architectural query: msgpack dataformat
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 :-).
Sounds intriguing to me.
I'm interested in CBOR support, I'm hoping it will be as simple as Smile formatting, I'll look into it!
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.
What's the current state regarding the supported factories? I'm interested in using the CBOR option.
:+1: