-
I am consuming third party endpoint, which is not consistent about the type of field - once I get I was trying to deserialize it as String, and then have two getters parsing it as double or integer, and have one of them to return null, but even when I combine it with |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I have used Java type |
Beta Was this translation helpful? Give feedback.
I have used Java type
Number
for this field, which solved my problem.