-
Notifications
You must be signed in to change notification settings - Fork 31
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
Cannot deserialize byte[]
from JSON null
value
#107
Comments
Could you please include a full reproduction, without using It is possible this could be recreated from description, I've just had some bad experiences where submitter has omitted crucial details on calls being made, or (in some case) interaction with frameworks like Lombok. |
byte[]
from JSON null
value
No worries! Here is a java program that when executed, reproduces the bug:
|
Excellent, thank you @reed53 ! Definitely looks like a bug. |
Fix #107: accept `null` for `byte[]` target
Fixed for 2.15(.3) / 2.16(.0). |
Do you know how long it may be until a release? |
@reed53 Unfortunately hard to predict, BUT, I am hoping to get first 2.16 release candidate out within this or next week. And would make sense to release 2.15.3 at around same time. So I think it can go out within 2 weeks if and when I find time (release takes 2-4 hours for the whole Jackson set) |
Hello,
I ran into a bug today that I don't see a workaround for.
If I have an object like so:
and I try to deserialize
"{\"arr\":null}"
, I get the following error:I then tried to implement a custom reader for byte arrays to work around this issue, however it seems like the error occurred before the reader has access to the value.
The text was updated successfully, but these errors were encountered: