Class JSONParserResult


  • public class JSONParserResult
    extends Object
    Result of parsing a JSON text.
    • Method Detail

      • root

        @Nullable
        public @Nullable JSONValue root()
        Returns the root JSON value that the parser found.
        Returns:
        the root JSON value, null if there is no value.
      • duplicateKeys

        @NotNull
        public @NotNull List<List<JSONValueString>> duplicateKeys()
        Returns lists of duplicated keys found when parsing.
        Returns:
        lists of duplicated keys found when parsing
      • numbersTooBigForDouble

        @NotNull
        public @NotNull List<JSONValueNumber> numbersTooBigForDouble()
        Returns list of numbers that are found to be too big for Java double primitive when parsing.
        Returns:
        list of numbers that are found to be too big for Java double primitive when parsing.