Use writeStartObject(Object forValue, int size)
for ObjectNode
serialization
#5103
Labels
2.20
Issues planned at 2.20 or later
(note: part of #3679)
Currently
ObjectNode
serialization uses "simple"writeStartObject(Object forValue
).It would be more efficient for some backends to use variant that takes number of elements to write as argument (f.ex CBOR has length-prefixed variant that may be more efficient to decode).
Although not all cases can use this variant (if filtering, f.ex), but some can: let's use it where we can.
The text was updated successfully, but these errors were encountered: