Closed tanczosm closed 6 months ago
The current serializer for SwapStyle uses JsonNamingPolicy.CamelCase, which converts SwapStyle.AfterBegin to "afterBegin" instead of the correct "afterbegin". This issue impacts several enum values.
That's an easy fix. Create a SwapStyleConverter : JsonConverter<SwapStyle> in the serialization folder and register it with the sterilization context.
SwapStyleConverter : JsonConverter<SwapStyle>
The current serializer for SwapStyle uses JsonNamingPolicy.CamelCase, which converts SwapStyle.AfterBegin to "afterBegin" instead of the correct "afterbegin". This issue impacts several enum values.