Adapter to the Jackson parsers and generators.
Uses the fast jackson NonBlockingJsonParser
to parse the input bytes,
and push the data to a JsonGenerator
.
Uses the fast jackson NonBlockingJsonParser
to parse the input bytes,
and push the data to a JsonGenerator
.
Remember to call close, or else you might miss some data.
See JsonRenderer for high level use.
See JsonRenderer for high level use.
Adapter to Jackson's JsonGenerator
classes, used to serialize jvm objects to bytes.
Allows WeePickle to emit all of jackson's supported serialization formats: - JsonGenerator - YAMLGenerator - SmileGenerator - CBORGenerator - more: https://github.com/FasterXML/jackson#data-format-modules
Important for perf to call close(). Otherwise jackson will not return its buffer to the pool for reuse.
Implements most of the JsonGenerator
interface.
Implements most of the JsonGenerator
interface.
CharSequence
s emitted to the visitor are typically thin wrappers around
jackson's internal mutable buffer. Values are stable until the visitor methods return.
It is the visitor's responsibility to call toString if immutability is needed.
visitor return value
{ "generates": "output", "in this": { "popular": "format" } }
Adapter to the Jackson parsers and generators.
https://github.com/FasterXML/jackson