jackson-dataformats-binary icon indicating copy to clipboard operation
jackson-dataformats-binary copied to clipboard

Flatbuffers support?

Open jfuehner opened this issue 4 years ago • 1 comments

Was curious if there are any plans to provide factory/objectmapper support for flatbuffers similar to what's been done with protobuf? Specifically, being able to de/serialize to/from POJO's...

Thanks!

jfuehner avatar Mar 16 '20 09:03 jfuehner

I don't think anyone is working on that, but implementation for backend might be doable. It only requires implementation of "streaming" API (JsonParser, JsonGenerator, and factory that creates those), after which binding to/from POJOs is same across backends.

If you or anyone else would like to try that, starting with protobuf implementation could help. It is not a trivial thing to do necessarily (since protobuf format is different in that property ids are used, not names as with json), but doable.

cowtowncoder avatar Mar 16 '20 19:03 cowtowncoder