You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Json's key is always string type, it is counterintuitive to write enum to a string of number