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

    Modifier and Type
    Method
    Description
    void
    characters(char[] characters)
    Characters set found, it can be any characters.
    void
    This method will be called by JSONParser when ']' found.
    void
    This method will be called by JSONParser when '}' found.
     
    void
    key(String key)
    The key name found in the input JSON stream.
    void
    This method will be called by JSONParser when '[' found.
    void
    This method will be called by JSONParser when '{' found.
  • Method Details

    • 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.