|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JSONHandler
Interface for handling JSON, modeled on SAX ContentHandler.
Method Summary | |
---|---|
JSONHandler |
booleanValue(boolean booleanValue)
Report a JSON boolean value. |
JSONHandler |
endArray()
End the current JSON array. |
JSONHandler |
endObject()
End the current JSON object. |
JSONHandler |
name(String valueName)
Report the name for the following value (object, array, or simple value). |
JSONHandler |
nullValue()
Report a JSON null value. |
JSONHandler |
numberValue(String numberValue)
Report a JSON number value. |
JSONHandler |
startArray()
Start a new JSON array. |
JSONHandler |
startObject()
Start a new JSON object. |
JSONHandler |
stringValue(String value)
Report a JSON string value. |
Method Detail |
---|
JSONHandler startObject() throws IOException
IOException
JSONHandler endObject() throws IOException
IOException
JSONHandler startArray() throws IOException
IOException
JSONHandler endArray() throws IOException
IOException
JSONHandler name(String valueName) throws IOException
valueName
- The value name.
IOException
JSONHandler stringValue(String value) throws IOException
value
- The value.
IOException
JSONHandler numberValue(String numberValue) throws IOException
numberValue
- The lexical representation of a JSON number value.
IOException
JSONHandler booleanValue(boolean booleanValue) throws IOException
booleanValue
- true or false
IOException
JSONHandler nullValue() throws IOException
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |