Replies: 2 comments
-
Wrong repo, needs to go on jackson-databind, will transfer. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Also, should be an issue, not discussion, see if I can convert. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think there's a bit of asymmetry when the lib is used to deserialized into primitive array vs List of objects. Please see the below example
The commented lines are lines I would expect to generate the similar results as List without throwing exceptions.
I believe the simple fix is to remove below lines from
PrimitiveArrayDeserializers
class'handleNonArray()
methodas they would almost certainly throw exception as
getValueInstantiator()
method is not being overriden to generate a sensible result. And a single string value will be dealt with correctly without above lines.Thanks for looking ! Please kindly let me know your thoughts
Beta Was this translation helpful? Give feedback.
All reactions