Class JSONParser

java.lang.Object
com.attribyte.json.JSONParser

public class JSONParser extends Object
A SAX parser for JSON documents.
  • 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.