-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JsonDeserialize
annotation does not work for value class
that is unboxed
on the argument
#46
Comments
annotation does not work for
value class that is
unboxed` on the argument
annotation does not work for
value class that is
unboxed` on the argumentJsonDeserialize
annotation does not work for value class
that is unboxed
on the argument
data class SummaryInfoReq(
@get:JsonProperty("currency") val currency: Currency,
@get:JsonProperty("vendor_net_pay") val vendorNetPay: BigDecimal,
) The |
…perties This indicates that #46 has been resolved.
Fixes #50 and #54 make it work except for the
JsonDeserialize
annotation when it isunboxed
on the argument.Below is the initial description.
Annotation given to function arguments containing value class does not work
Annotations with
value class
as an argument are compiled intosynthetic
functions with markers andprivate
functions without markers.Jackson
is handling theprivate
function, but this function does not reflect the annotation given onKotlin
.This prevents the associated content from working.
This problem can be avoided by modifying the annotations to be given to
getter
, etc.As for the annotations that must be given as arguments, please wait until the problem is fixed.
The text was updated successfully, but these errors were encountered: