public class JsonDefaultHandler extends Object implements JsonHandler
| Constructor and Description |
|---|
JsonDefaultHandler()
Constructs new JsonHandler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] characters)
Characters set found, it can be any characters.
|
void |
endArray()
This method will be called by JSONParser when ']' found.
|
void |
endObject()
This method will be called by JSONParser when '}' found.
|
JsonValue |
getJsonObject() |
void |
key(String key)
The key name found in the input JSON stream.
|
void |
reset()
Reset JSON events handler and prepare it for next usage.
|
void |
startArray()
This method will be called by JSONParser when '[' found.
|
void |
startObject()
This method will be called by JSONParser when '{' found.
|
public void characters(char[] characters)
characters in interface JsonHandlercharacters - the array of characters.public void endArray()
endArray in interface JsonHandlerpublic void endObject()
endObject in interface JsonHandlerpublic void key(String key)
key in interface JsonHandlerkey - the key.public void startArray()
startArray in interface JsonHandlerpublic void startObject()
startObject in interface JsonHandlerpublic void reset()
public JsonValue getJsonObject()
getJsonObject in interface JsonHandlerCopyright © 2020 eXo Platform SAS. All Rights Reserved.