singleValue

The annotated class will be represented directly as a single JSON value without wrapping that value in a JSON object.

If the annotated class has zero or more than one encodable (if the class is encodable) or decodable (if the class is decodable) properties an error will be raised.

Properties

Link copied to clipboard
Link copied to clipboard