|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JSONSerializerListener
JSON serializer listener interface.
| Nested Class Summary | |
|---|---|
static class |
JSONSerializerListener.Adapter
JSON serializer listener adapter. |
| Method Summary | |
|---|---|
void |
beginDictionary(JSONSerializer jsonSerializer,
Dictionary<String,?> value)
Called when the serializer has begun reading a dictionary value. |
void |
beginSequence(JSONSerializer jsonSerializer,
Sequence<?> value)
Called when the serializer has begun reading a sequence value. |
void |
endDictionary(JSONSerializer jsonSerializer)
Called when the serializer has finished reading a dictionary value. |
void |
endSequence(JSONSerializer jsonSerializer)
Called when the serializer has finished reading a sequence value. |
void |
readBoolean(JSONSerializer jsonSerializer,
Boolean value)
Called when the serializer has read a boolean value. |
void |
readKey(JSONSerializer jsonSerializer,
String key)
Called when the serializer has read a dictionary key. |
void |
readNull(JSONSerializer jsonSerializer)
Called when the serializer has read a null value. |
void |
readNumber(JSONSerializer jsonSerializer,
Number value)
Called when the serializer has read a numeric value. |
void |
readString(JSONSerializer jsonSerializer,
String value)
Called when the serializer has read a string value. |
| Method Detail |
|---|
void beginDictionary(JSONSerializer jsonSerializer,
Dictionary<String,?> value)
jsonSerializer - value - void endDictionary(JSONSerializer jsonSerializer)
jsonSerializer -
void readKey(JSONSerializer jsonSerializer,
String key)
jsonSerializer - key -
void beginSequence(JSONSerializer jsonSerializer,
Sequence<?> value)
jsonSerializer - value - void endSequence(JSONSerializer jsonSerializer)
jsonSerializer -
void readString(JSONSerializer jsonSerializer,
String value)
jsonSerializer - value -
void readNumber(JSONSerializer jsonSerializer,
Number value)
jsonSerializer - value -
void readBoolean(JSONSerializer jsonSerializer,
Boolean value)
jsonSerializer - value - void readNull(JSONSerializer jsonSerializer)
jsonSerializer -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||