When a Kotlin class has a property that is one of the new @JvmInline value classes, Jackson converts it to JSON with a weird suffix on the field name.
e.g.
@JvmInline
value class ModelName(val value: String)
data class MyDto(val modelName: ModelName)
Jackson will produce JSON that looks like this:
{
"modelName-11MJ8YI": "Some Model Name"
}
I've tried adding a @JsonProperty("modelName") annotation but it doesn't make a difference.