The custom key serializer seems to overwrite the property name defined via the JsonPropertyNameAttribute.
This claim need to be verified, if true the key and dictionary key serializer should be left on their respective default values for JsonSerializerOptions to circumvent the issue.
Rare instances, where the custom behaviour is used should be handled by JsonPropertyNameAttribute instead.
The custom key serializer seems to overwrite the property name defined via the
JsonPropertyNameAttribute
. This claim need to be verified, if true the key and dictionary key serializer should be left on their respective default values forJsonSerializerOptions
to circumvent the issue. Rare instances, where the custom behaviour is used should be handled byJsonPropertyNameAttribute
instead.