Class JsonParserUsingCharacterSource

  • All Implemented Interfaces:
    JsonParser

    public class JsonParserUsingCharacterSource
    extends BaseJsonParser
    Converts an input JSON String into Java objects works with String or char array as input. Produces an Object which can be any of the basic JSON types mapped to Java.
    • Field Detail

      • NULL

        protected static final char[] NULL
      • TRUE

        protected static final char[] TRUE
      • FALSE

        protected static char[] FALSE
    • Constructor Detail

      • JsonParserUsingCharacterSource

        public JsonParserUsingCharacterSource()
    • Method Detail

      • exceptionDetails

        protected String exceptionDetails​(String message)
      • decodeJsonObject

        protected final Object decodeJsonObject()
      • complain

        protected final void complain​(String complaint)
      • decodeNull

        protected final Object decodeNull()
      • decodeTrue

        protected final boolean decodeTrue()
      • decodeFalse

        protected final boolean decodeFalse()
      • decodeJsonArray

        protected final List decodeJsonArray()
      • parse

        public Object parse​(char[] chars)