Package com.github.tnakamot.json.parser
Class JSONParserResult
- java.lang.Object
-
- com.github.tnakamot.json.parser.JSONParserResult
-
public class JSONParserResult extends Object
Result of parsing a JSON text.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull List<List<JSONValueString>>
duplicateKeys()
Returns lists of duplicated keys found when parsing.@NotNull List<JSONValueNumber>
numbersTooBigForDouble()
Returns list of numbers that are found to be too big for Java double primitive when parsing.@Nullable JSONValue
root()
Returns the root JSON value that the parser found.
-
-
-
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.
-
-