Interface JsonHandler
- All Known Implementing Classes:
JsonDefaultHandler
public interface JsonHandler
- Version:
- $Id: JsonHandler.java 34417 2009-07-23 14:42:56Z dkatayev $
- Author:
- Andrey Parfonov
-
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] characters) Characters set found, it can be any characters.voidendArray()This method will be called by JSONParser when ']' found.voidThis method will be called by JSONParser when '}' found.voidThe key name found in the input JSON stream.voidThis method will be called by JSONParser when '[' found.voidThis method will be called by JSONParser when '{' found.
-
Method Details
-
startObject
void startObject()This method will be called by JSONParser when '{' found. -
endObject
void endObject()This method will be called by JSONParser when '}' found. -
startArray
void startArray()This method will be called by JSONParser when '[' found. -
endArray
void endArray()This method will be called by JSONParser when ']' found. -
key
The key name found in the input JSON stream.- Parameters:
key- the key.
-
characters
void characters(char[] characters) Characters set found, it can be any characters.- Parameters:
characters- the array of characters.
-
getJsonObject
JsonValue getJsonObject()- Returns:
- return Json Object.
-