FasterXML / FasterXML/jackson3-dev
Add `writeStartObject(Object, int)` in generator API to support fixed-element writes (CBOR et al)
Ouverte
- Langage dominant
- Aucune donnée de langage
- Étoiles
- 6
- Forks
- 0
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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`).
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.