-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
> JSONObject(Map): Throws NPE if key is null #678
Comments
I think it would be helpful to have a Breaking Changes section or page that includes the above comment. Will look into it. |
Okay
…On Fri, Oct 7, 2022, 9:58 PM Yunki Kim ***@***.***> wrote:
I would like to work on this issue.
—
Reply to this email directly, view it on GitHub
<#678 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AY3ID3D7UUI6GOKEF3CXUYDWCDPMZANCNFSM5UYONSGQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
@stleary - I'd like to help out here (if it's still relevant). What exactly are you looking for? |
@TomerPacific This is a documentation issue. |
@stleary, I opened a PR for this. |
A bit late here, but I would consider throwing an exception for an input that used to be accepted a breaking API change. In my company's codebase we had some tests that verified this behavior that were broken as a result, and a currently unknown amount of code that could actually be depending on this behavior.
Obviously this ship has already sailed (and rejecting null keys makes much more sense), but can we at least point out the breaking change in the release history documentation? Would be very useful as a heads-up for anyone trying to upgrade from an old version.
Originally posted by @data-enabler in #405 (comment)
The text was updated successfully, but these errors were encountered: