I have a data class like the following
data class User(val id: String,
val name: String,
val isVerified: Boolean)
When I'm trying to serialize it using io.vertx.core.json.Json.encode(user),
"which is uses Jackson underneath" I expect the result to be
{
"id": "",
"name": "",
"isVerified": false
}
but I got
{
"id": "",
"name": "",
"verified": false
}
--
You received this message because you are subscribed to the Google Groups
"jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jackson-user/48889489-58d1-4b69-8fb8-58844bf1ec19%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.