There is one way to stream String values, by using JsonParser method
getText(Writer w)
which may handle decoding incrementally: implementations may or may
not buffer content.
But for JSON parser in particular I think actual streaming is in fact
implemented. So you would need to construct a JsonParser and iterate
over tokens, then call this method with a `Writer` you implement to
process content.
But the problem then becomes that of how to parse content passed via Writer.
This is almost doable since Jackson has async (non-blocking) parser
implementation too... unfortunately it expects byte-based input. You
could re-encode content as UTF-8 bytes, feed them, so technically this
would be doable.
Other than this approach all individual JSON values are parsed as one
and cannot be streamed.
I hope this helps,
-+ Tatu +-