Add SerializationFeature.WRITE_ENUM_KEYS_USING_INDEX
, separate from value setting
#2129
Milestone
SerializationFeature.WRITE_ENUM_KEYS_USING_INDEX
, separate from value setting
#2129
A new feature to "revert" behavior change in #1570
e.g. define a new SerializationFeature.WRITE_MAP_KEY_ENUMS_USING_INDEX (or whatever you think is appropriate), when it is set to false while SerializationFeature.WRITE_ENUMS_USING_INDEX is true, enum values are serialised as int (enum ordinal), enum key are serialised as string(enum name)
Why need this:
The text was updated successfully, but these errors were encountered: