Generates utilities to aid in serializing to/from JSON.
BSD 3-Clause "New" or "Revised" License
1.55k
stars
395
forks
source link
Add an option for `jsonSerializable` annotation to choose what `enum` property `name` or `index` to use for serialization. #1290
Open
bambinoua opened 1 year ago
Now generated code contains such statement for
ThemeMode
enum
:So
enum
values are serialized asString
s but having a possibility to serializeenum
values asint
egers would be a good option.