Json Value Source
This source reads a prefix of another source as a JSON value and then terminates. It can read top-level arrays, objects, or strings only.
It implements lenient parsing and has no mechanism to enforce strict parsing. If the input is not valid or lenient JSON the behavior of this source is unspecified.
Constructors
JsonValueSource
Link copied to clipboard
JsonValueSource
Link copied to clipboard
open fun JsonValueSource(source: BufferedSource, prefix: Buffer, state: ByteString, stackSize: Int)
Content copied to clipboard
Functions
Properties
STATE_C_STYLE_COMMENT
Link copied to clipboard
STATE_DOUBLE_QUOTED
Link copied to clipboard
STATE_END_OF_JSON
Link copied to clipboard
STATE_END_OF_LINE_COMMENT
Link copied to clipboard
STATE_JSON
Link copied to clipboard
STATE_SINGLE_QUOTED
Link copied to clipboard