Class JsonParser
java.lang.Object
org.apache.jackrabbit.commons.json.JsonParser
Deprecated.
use JSON Processing API instead.
JsonParser parses and validates the JSON object passed upon
parse(String) or parse(InputStream, String) and notifies
the specified JsonHandler-
Constructor Summary
ConstructorsConstructorDescriptionJsonParser(JsonHandler jsonHandler) Deprecated.Create a newJSONParserwith the specifiedJSONHandler. -
Method Summary
-
Constructor Details
-
JsonParser
Deprecated.Create a newJSONParserwith the specifiedJSONHandler.- Parameters:
jsonHandler- AJSONHandler
-
-
Method Details
-
parse
Deprecated.- Parameters:
str- String to be parsed- Throws:
IOException- If an error occurs.
-
parse
Deprecated.- Parameters:
input- InputStream to be parsed.charSetName- Name of the charset to be used.- Throws:
IOException- If an error occurs.
-
parse
Deprecated.- Parameters:
reader- The reader- Throws:
IOException- If an error occurs.
-