FasterXML / FasterXML/jackson3-dev
Add `writeStartObject(Object, int)` in generator API to support fixed-element writes (CBOR et al)
Đang mở
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 6
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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`).
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.