Initializer |
Emitter(Boolean pretty) |
Methods | |
onBoolean | Source Codeshared actual void onBoolean(Boolean v) Called when encountering true or false. Refines Visitor.onBoolean |
onEndArray | Source Codeshared actual void onEndArray() Called at the end of an array. Refines Visitor.onEndArray |
onEndObject | Source Codeshared actual void onEndObject() Called at the end of an object. Refines Visitor.onEndObject |
onKey | Source Codeshared actual void onKey(String key) Called when encountering a key within a the current object. Refines Visitor.onKey |
onNull | Source Codeshared actual void onNull() Called when encountering a null. Refines Visitor.onNull |
onNumber | Source Codeshared actual void onNumber(Integer|Float n) Called when encountering a number. Refines Visitor.onNumber |
onStartArray | Source Codeshared actual void onStartArray() Called at the start of a new array.
Further calls pertain to this new object until
a corresponding call to Refines Visitor.onStartArray |
onStartObject | Source Codeshared actual void onStartObject() Prints an Refines Visitor.onStartObject |
onString | Source Codeshared actual void onString(String s) Called when encountering a string. Refines Visitor.onString |
print | Source Codeshared formal void print(String string) Override to implement the printing part |
Inherited Methods |
Methods inherited from: Object |
Methods inherited from: Visitor |