JsonRenderer
Value members
Concrete methods
Generates a single json value (e.g. {"a": 1, "b": 2}
, [1,2,3]
, "pony"
, or 42
),
then closes, releasing underlying buffers back to the pool and preventing further writes.
Generates a single json value (e.g. {"a": 1, "b": 2}
, [1,2,3]
, "pony"
, or 42
),
then closes, releasing underlying buffers back to the pool and preventing further writes.
This is the one you want 99% of the time.
==Configuration==
com.fasterxml.jackson.core.json.JsonWriteFeature
JsonGenerator.Feature
Lowest level Jackson interface.
Lowest level Jackson interface.
==close()== The caller is responsible for calling .close(). Otherwise, data may not be flushed, buffers will not be released back to the pool, performance may suffer due to buffer reallocation.
==Multiple values==
Can generates multiple json values (e.g. {} "pony" 42
) separated by
com.fasterxml.jackson.core.PrettyPrinter.DEFAULT_ROOT_VALUE_SEPARATOR
.
Underlying resources is flushed() at the end of each value.