https://kotlinlang.org logo
#spring
Title
# spring
x

xenoterracide

09/16/2019, 6:08 PM
jackson isn’t recognizing my
@JsonProperty
Copy code
data class RabbitMqUser(
    @JsonProperty("password_hash")
    val passwordHash: String,
    var tags: String = ""
)
any ideas why that might be?
l

leodeng

09/16/2019, 6:12 PM
does
@field:JsonProperty
work?
x

xenoterracide

09/16/2019, 6:18 PM
it might, just realized I wasn’t applying the jackson kotlin module, which applying that fixes it
7 Views