-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
2.18Issues planned at 2.18 or laterIssues planned at 2.18 or laterRecordIssue related to JDK17 java.lang.Record supportIssue related to JDK17 java.lang.Record supportproperty-discoveryProblem with property discovery (introspection)Problem with property discovery (introspection)
Description
Describe your Issue
In Kotlin, annotations are given to constructor parameters of the record class when written in a natural way.
@JvmRecord
data class JacksonTest(
@JsonProperty("propertyOne")
val one: String,
@JsonProperty("propertyTwo")
val two: String
)On the other hand, Jackson seemed to ignore such annotations.
For this reason, the following problems have been reported
FasterXML/jackson-module-kotlin#773
I am not familiar with the handling of the record class, but is it possible to handle annotations on parameters in the same way as the normal class?
Metadata
Metadata
Assignees
Labels
2.18Issues planned at 2.18 or laterIssues planned at 2.18 or laterRecordIssue related to JDK17 java.lang.Record supportIssue related to JDK17 java.lang.Record supportproperty-discoveryProblem with property discovery (introspection)Problem with property discovery (introspection)