Initializer
Builder()
Attributes
resultSource Codeshared Value result

The constructed Value.

Throws
  • AssertionError

    The builder has not yet seen enough input to return a fully formed JSON value.

Inherited Attributes
Attributes inherited from: Object
Methods
onBooleanSource Codeshared actual void onBoolean(Boolean bool)

Called when encountering true or false.

onEndArraySource Codeshared actual void onEndArray()

Called at the end of an array.

onEndObjectSource Codeshared actual void onEndObject()

Called at the end of an object.

onKeySource Codeshared actual void onKey(String key)

Called when encountering a key within a the current object.

onNullSource Codeshared actual void onNull()

Called when encountering a null.

onNumberSource Codeshared actual void onNumber(Integer|Float num)

Called when encountering a number.

onStartArraySource Codeshared actual void onStartArray()

Called at the start of a new array. Further calls pertain to this new object until a corresponding call to Visitor.onEndArray().

onStartObjectSource Codeshared actual void onStartObject()

Called at the start of a new object. Further calls pertain to this new object until a corresponding call to Visitor.onEndObject().

onStringSource Codeshared actual void onString(String string)

Called when encountering a string.

Inherited Methods
Methods inherited from: Object
Methods inherited from: Visitor