Interface JsonHandler

  • All Known Implementing Classes:
    JsonDefaultHandler

    public interface JsonHandler
    Version:
    $Id: JsonHandler.java 34417 2009-07-23 14:42:56Z dkatayev $
    Author:
    Andrey Parfonov
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void characters​(char[] characters)
      Characters set found, it can be any characters.
      void endArray()
      This method will be called by JSONParser when ']' found.
      void endObject()
      This method will be called by JSONParser when '}' found.
      JsonValue getJsonObject()  
      void key​(String key)
      The key name found in the input JSON stream.
      void startArray()
      This method will be called by JSONParser when '[' found.
      void startObject()
      This method will be called by JSONParser when '{' found.
    • Method Detail

      • startObject

        void startObject()
        This method will be called by JSONParser when '{' found.
      • endObject

        void endObject()
        This method will be called by JSONParser when '}' found.
      • startArray

        void startArray()
        This method will be called by JSONParser when '[' found.
      • endArray

        void endArray()
        This method will be called by JSONParser when ']' found.
      • key

        void key​(String key)
        The key name found in the input JSON stream.
        Parameters:
        key - the key.
      • characters

        void characters​(char[] characters)
        Characters set found, it can be any characters.
        Parameters:
        characters - the array of characters.
      • getJsonObject

        JsonValue getJsonObject()
        Returns:
        return Json Object.