fieldRename property

FieldRename fieldRename
final

Defines the naming strategy when converting enum entry names to JSON values.

With a value FieldRename.none (the default), the name of the enum entry is used without modification.

See FieldRename for details on the other options.

Note: the value for JsonValue.value takes precedence over this option for entries annotated with JsonValue.

Implementation

final FieldRename fieldRename;