ProblemArray
A JSON array as an extension value. Implements List<ProblemValue> by delegation, so it can be iterated and indexed directly.
In XML this becomes a sequence of children all named i (Appendix B), where an empty array is indistinguishable from an empty object and from null; all three read back as the empty string. See the problem-details-xml module documentation.
Properties
The scalar parsed as a Boolean.
The scalar parsed as a Boolean, or null if this value is not a scalar or is not true/false.
The scalar parsed as a Double. Reads the wire literal, so a quoted "1.5" also returns 1.5.
The scalar parsed as a Double, or null if this value is not a scalar or does not parse.
The scalar parsed as an Int.
The scalar parsed as an Int, or null if this value is not a scalar or does not parse.
The scalar parsed as a Long. Reads the wire literal, so a quoted "30" also returns 30.
The scalar parsed as a Long, or null if this value is not a scalar or does not parse.
This value as a scalar.
This value as a scalar, or null if it is an array, an object or ProblemNull.
This value as an array.
This value as an array, or null if it is anything else.
This value as an object.
This value as an object, or null if it is anything else.
The scalar's wire literal as text, with the quotes of a JSON string already removed.
The scalar's wire literal as text, or null if this value is not a scalar.
Functions
Compares the contained values against any List, not only another ProblemArray. List equality requires that of a class implementing it, and it keeps ProblemArray(items) == items true.