Package com.attribyte.json
Class JSONParser
java.lang.Object
com.attribyte.json.JSONParser
A SAX parser for JSON documents.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidparse(InputSource source, boolean reportNullValues, ContentHandler handler) Parse a JSON document.
-
Constructor Details
-
JSONParser
public JSONParser()
-
-
Method Details
-
parse
public static void parse(InputSource source, boolean reportNullValues, ContentHandler handler) throws IOException, SAXException Parse a JSON document.- Parameters:
source- The input source.reportNullValues- Should null values be reported?handler- The SAX content handler.- Throws:
IOException- on input exception.SAXException- on parse exception.
-