|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JsonHandler
The JSONHandler interface receives notifications from the
JsonParser.
| Method Summary | |
|---|---|
void |
array()
Receive notification about the start of an JSON array. |
void |
endArray()
Receive notification about the end of an JSON array. |
void |
endObject()
Receive notification about the end of an JSON object. |
void |
key(java.lang.String key)
Receive notification about the given JSON key. |
void |
object()
Receive notification about the start of an JSON object. |
void |
value(boolean value)
Receive notification about the given JSON boolean value. |
void |
value(double value)
Receive notification about the given JSON number value (double). |
void |
value(long value)
Receive notification about the given JSON number value (long). |
void |
value(java.lang.String value)
Receive notification about the given JSON String value. |
| Method Detail |
|---|
void object()
throws java.io.IOException
java.io.IOException - If an error occurs.
void endObject()
throws java.io.IOException
java.io.IOException - If an error occurs.
void array()
throws java.io.IOException
java.io.IOException - If an error occurs.
void endArray()
throws java.io.IOException
java.io.IOException - If an error occurs.
void key(java.lang.String key)
throws java.io.IOException
key - The key.
java.io.IOException - If an error occurs.
void value(java.lang.String value)
throws java.io.IOException
value - The value.
java.io.IOException - If an error occurs.
void value(boolean value)
throws java.io.IOException
value - The value.
java.io.IOException - If an error occurs.
void value(long value)
throws java.io.IOException
value - The value.
java.io.IOException - If an error occurs.
void value(double value)
throws java.io.IOException
value - The value.
java.io.IOException - If an error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||