Callable interface used when traversing JSON data.

It is the callers responsiblity to ensure the methods of this interface are called in a sequence that corresponds to well-formed JSON. For example, callers should never generate the calling sequence onKey(), onKey().

By: Tom Bentley

no type hierarchy

no supertypes hierarchy

Inherited Attributes
Attributes inherited from: Object
Methods
onBooleanSource Codeshared formal void onBoolean(Boolean boolean)

Called when encountering true or false.

onEndArraySource Codeshared formal void onEndArray()

Called at the end of an array.

onEndObjectSource Codeshared formal void onEndObject()

Called at the end of an object.

onKeySource Codeshared formal void onKey(String key)

Called when encountering a key within a the current object.

onNullSource Codeshared formal void onNull()

Called when encountering a null.

onNumberSource Codeshared formal void onNumber(Integer|Float number)

Called when encountering a number.

onStartArraySource Codeshared formal void onStartArray()

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

onStartObjectSource Codeshared formal void onStartObject()

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

onStringSource Codeshared formal void onString(String string)

Called when encountering a string.

Inherited Methods
Methods inherited from: Object