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()
.
no type hierarchy
no supertypes hierarchy
Methods | |
onBoolean | Source Codeshared formal void onBoolean(Boolean boolean) Called when encountering true or false. |
onEndArray | Source Codeshared formal void onEndArray() Called at the end of an array. |
onEndObject | Source Codeshared formal void onEndObject() Called at the end of an object. |
onKey | Source Codeshared formal void onKey(String key) Called when encountering a key within a the current object. |
onNull | Source Codeshared formal void onNull() Called when encountering a null. |
onNumber | Source Codeshared formal void onNumber(Integer|Float number) Called when encountering a number. |
onStartArray | Source Codeshared formal void onStartArray() Called at the start of a new array.
Further calls pertain to this new object until
a corresponding call to |
onStartObject | Source Codeshared formal void onStartObject() Called at the start of a new object.
Further calls pertain to this new object until
a corresponding call to |
onString | Source Codeshared formal void onString(String string) Called when encountering a string. |
Inherited Methods |
Methods inherited from: Object |