public class JSONParser
extends java.lang.Object
| Constructor and Description |
|---|
JSONParser(java.lang.String input)
Constructor taking the JSON input string.
|
| Modifier and Type | Method and Description |
|---|---|
JSONValue |
parse()
Parse the JSON string passed in the constructor and return the parsed JSON value object.
|
public JSONParser(java.lang.String input)
input - JSON input string.public JSONValue parse() throws ParserException
ParserException - If there is an error while parsing the input string.