Decoding

The way in which the annotation processor can decode and instantiate a @Json-annotated class.

Entries

Link copied to clipboard

The constructor annotated with @Json.Constructor will be used for decoding and creating instances.

Link copied to clipboard

The annotation processor will try to find the best way to decode the @Json-annotated class using the following approaches, in order:

Link copied to clipboard

The annotated class is not decodable.

Link copied to clipboard

The class' primary constructor will be used for decoding.

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.