jackson-dataformats-binary
jackson-dataformats-binary copied to clipboard
Flatbuffers support?
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!
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.