Class JsonParserLax

    • Constructor Detail

      • JsonParserLax

        public JsonParserLax()
      • JsonParserLax

        public JsonParserLax​(boolean useValues)
      • JsonParserLax

        public JsonParserLax​(boolean useValues,
                             boolean chop)
      • JsonParserLax

        public JsonParserLax​(boolean useValues,
                             boolean chop,
                             boolean lazyChop)
      • JsonParserLax

        public JsonParserLax​(boolean useValues,
                             boolean chop,
                             boolean lazyChop,
                             boolean defaultCheckDates)
    • Method Detail

      • decodeNumberLax

        protected final Value decodeNumberLax​(boolean minus)
        Decodes a number from a JSON value. If at any point it is determined that the value is not a valid number the value is treated as a String.
        Parameters:
        minus - indicate whether the number is negative
        Returns:
        a number, or String if not a valid number