FasterXML / FasterXML/jackson3-dev

Add `writeStartObject(Object, int)` in generator API to support fixed-element writes (CBOR et al)

Open
#30 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
6
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Currently there are methods for indicating element count for arrays to write, but not Objects.
But underlying ability is expected and exposed by some codecs, such as CBOR; in some cases just as optimization (indicating length can be more compact and/or allow better decoding), and in other cases possibly as a requirement.
Regardless, it would make sense to expose this at general generator level (`JsonGenerator`).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.