ProblemNull

The explicit JSON null of an extension member.

Appendix B defines nothing for XML null, so the XML codec writes it as an empty element, which reads back as the empty string. This asymmetry is documented and tested on purpose.

Properties

Link copied to clipboard

The scalar parsed as a Boolean.

Link copied to clipboard

The scalar parsed as a Boolean, or null if this value is not a scalar or is not true/false.

Link copied to clipboard

The scalar parsed as a Double. Reads the wire literal, so a quoted "1.5" also returns 1.5.

Link copied to clipboard

The scalar parsed as a Double, or null if this value is not a scalar or does not parse.

Link copied to clipboard

The scalar parsed as an Int.

Link copied to clipboard

The scalar parsed as an Int, or null if this value is not a scalar or does not parse.

Link copied to clipboard

The scalar parsed as a Long. Reads the wire literal, so a quoted "30" also returns 30.

Link copied to clipboard

The scalar parsed as a Long, or null if this value is not a scalar or does not parse.

Link copied to clipboard

This value as a scalar.

Link copied to clipboard

This value as a scalar, or null if it is an array, an object or ProblemNull.

Link copied to clipboard

This value as an array.

Link copied to clipboard

This value as an array, or null if it is anything else.

Link copied to clipboard

This value as an object.

Link copied to clipboard

This value as an object, or null if it is anything else.

Link copied to clipboard

The scalar's wire literal as text, with the quotes of a JSON string already removed.

Link copied to clipboard

The scalar's wire literal as text, or null if this value is not a scalar.