Class JsonParser

    • Constructor Detail

      • JsonParser

        public JsonParser​(JsonHandler jsonHandler)
        Create a new JSONParser with the specified JSONHandler.
        Parameters:
        jsonHandler - A JSONHandler
    • Method Detail

      • parse

        public void parse​(String str)
                   throws IOException
        Parameters:
        str - String to be parsed
        Throws:
        IOException - If an error occurs.
      • parse

        public void parse​(InputStream input,
                          String charSetName)
                   throws IOException
        Parameters:
        input - InputStream to be parsed.
        charSetName - Name of the charset to be used.
        Throws:
        IOException - If an error occurs.