FasterXML / jackson-dataformats-binary

Uber-project for standard Jackson binary format backends: avro, cbor, ion, protobuf, smile
Apache License 2.0
310 stars 133 forks source link

[cbor] add ability to treat object as array #286

Closed carbotaniuman closed 3 years ago

carbotaniuman commented 3 years ago

This reduced storage space and bandwidth required. This is present in some other libraries.

cowtowncoder commented 3 years ago

I do not understand what is being asked here: please explain in detail what is expected. A reference to "other libraries" would else need to point to an example.

Also note that jackson-databind with CBOR backend can already serialize POJOs as Arrays instead of Objects:

if that is what you are looking for.

carbotaniuman commented 3 years ago

Thank you! Just what I wanted!