A class representing a "known" JSON serializable value of type T, matching the type the SDK expects.
It is assignable to JsonField<T>.
JsonField<T>
Returns the result of calling the visitor method corresponding to this field's state.
Returns this field's list value, or null if it doesn't contain a list.
Returns this field's boolean value, or null if it doesn't contain a boolean.
Returns this field's "known" value, meaning it matches the type the SDK expects, or null if this field contains an arbitrary JsonValue.
Returns this field's numerical value, or null if it doesn't contain a number.
Returns this field's map value, or null if it doesn't contain a map.
Returns this field's string value, or null if it doesn't contain a string.
Returns this field's arbitrary JsonValue, meaning it mismatches the type the SDK expects, or null if this field contains a "known" value.
Returns whether this field is missing, which means it will be omitted from the serialized JSON entirely.
Whether this field is explicitly set to null.
null