Interface IJsonHandler

  • All Known Implementing Classes:
    JSONFilter

    public interface IJsonHandler
    • Method Detail

      • handleStart

        void handleStart()
        Called once at the beginning of a new document.
      • handleEnd

        void handleEnd()
        Called once at the end of a document.
      • handleComment

        void handleComment​(String c)
        Handle Json comment (illegal but found in partice)
      • handleSeparator

        void handleSeparator​(String separator)
        Handle separator, i.e., ":" or ","
      • handleValue

        void handleValue​(String value,
                         JsonValueTypes valueType)
        Handle json value, may be double, single quoted string, number, boolean symbol or null
      • handleWhitespace

        void handleWhitespace​(String whitespace)
        Handle json whitespace
      • handleObjectStart

        void handleObjectStart()
        Handle json Object: i.e., { "key" : "value" } For contextual information.
      • handleObjectEnd

        void handleObjectEnd()
      • handleListStart

        void handleListStart()
        Handle json List: i.e., [ "value1", "value2" ] For contextual information.
      • handleListEnd

        void handleListEnd()