Output range that takes JSON primitives and outputs to a character output range.
This range provides the underlying functinality for writeJSON and toJSON and is well suited as a target for serialization frameworks.
Note that pretty-printing (GeneratorOptions.compact not set) is currently only supported for primitives of type JSONParserNode.
Constructs the range for a given character output range.
Writes a single JSON primitive to the destination character range.
See Implementation
Output range that takes JSON primitives and outputs to a character output range.
This range provides the underlying functinality for writeJSON and toJSON and is well suited as a target for serialization frameworks.
Note that pretty-printing (GeneratorOptions.compact not set) is currently only supported for primitives of type JSONParserNode.