Does anybody know how to configure ktor client for case-insensitive json deserialization? I have a DTO (data class) which has enum property. All enum values are in upper case but data is in lower case.
@get:JsonFormat(with = [JsonFormat.Feature.ACCEPT_CASE_INSENSITIVE_PROPERTIES])
val property: EnumType
02/18/2020, 2:26 PM
Do you really need the
-prefix, or does it work with
Oh, this is Jackson, right? I was thinking it was kotlinx.serialization.