FasterXML / jackson-dataformats-binary

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

Implement `JsonGenerator.writeStartArray(int)` #1

Open cowtowncoder opened 8 years ago

cowtowncoder commented 8 years ago

(moved from https://github.com/FasterXML/jackson-dataformat-cbor/issues/1)

When jackson-core adds the new variant of writeStartArray, CBOR module should implement it, at least for cases where length is small enough and we can save one byte from encoded length. Ideally we should also verify that actual number of value writes matches to indicated length.

cowtowncoder commented 1 week ago

Duplicate of #16, fixed via #23; included in 2.8.0. Closing as duplicate.