Is there a way to make Micronaut Serialization not accept floats as integers when deserializing? #9697
Answered
by
yawkat
runenielsen
asked this question in
Q&A
-
Is there a way to make Micronaut Serialization not accept floats as integers when deserializing? I want to achieve the same as this configuration achieve for Jackson:
I couldn't find anything in the documentation... I am asking here, since there are no discussions in the Micronaut Serialization repository. I found by browsing the code, that the other Jackson configuration (fail on unknown properties) can be achieved for Serde like this:
|
Beta Was this translation helpful? Give feedback.
Answered by
yawkat
Aug 10, 2023
Replies: 1 comment 1 reply
-
no it is not currently supported. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
runenielsen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
no it is not currently supported.