Package com.dynatrace.openkit.util.json
Class JSONParser
- java.lang.Object
-
- com.dynatrace.openkit.util.json.JSONParser
-
public class JSONParser extends java.lang.ObjectJSON parser class for parsing a JSON input string.
-
-
Constructor Summary
Constructors Constructor Description JSONParser(java.lang.String input)Constructor taking the JSON input string.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JSONValueparse()Parse the JSON string passed in the constructor and return the parsed JSON value object.
-
-
-
Method Detail
-
parse
public JSONValue parse() throws ParserException
Parse the JSON string passed in the constructor and return the parsed JSON value object.- Returns:
- Parsed JSON value object.
- Throws:
ParserException- If there is an error while parsing the input string.
-
-