public class JsonParser
extends java.lang.Object
Constructor and Description |
---|
JsonParser() |
Modifier and Type | Method and Description |
---|---|
NodeObj |
createTree(java.lang.String str)
Creates from the JSON object, given as a String in parameter str, a
recursive tree representing the JSON object.
|
public NodeObj createTree(java.lang.String str) throws ParseErrorEx
str
- the JSON object to parse, given as Java StringParseErrorEx
- Is thrown if the parser detects an error in the string.