|
||||||||||
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(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(String value)
Receive notification about the given JSON String value. |
Method Detail |
---|
void object() throws IOException
IOException
- If an error occurs.void endObject() throws IOException
IOException
- If an error occurs.void array() throws IOException
IOException
- If an error occurs.void endArray() throws IOException
IOException
- If an error occurs.void key(String key) throws IOException
key
- The key.
IOException
- If an error occurs.void value(String value) throws IOException
value
- The value.
IOException
- If an error occurs.void value(boolean value) throws IOException
value
- The value.
IOException
- If an error occurs.void value(long value) throws IOException
value
- The value.
IOException
- If an error occurs.void value(double value) throws IOException
value
- The value.
IOException
- If an error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |