Class JsonParserLax

All Implemented Interfaces:
JsonParser

public class JsonParserLax extends JsonParserCharArray
  • Constructor Details

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

    • decodeValue

      protected final Object decodeValue()
      Overrides:
      decodeValue in class JsonParserCharArray
    • 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
    • decodeFromChars

      protected final Object decodeFromChars(char[] cs)
      Overrides:
      decodeFromChars in class JsonParserCharArray