primaryConstructor

The class' primary constructor will be used for decoding.

If there is no primary constructor, the constructor is not accessible, uses vararg or is annotated with @Json.Excluded then an error will be raised.

Accessible in this case means having internal or public visibility.

Properties

Link copied to clipboard
Link copied to clipboard