Skip to content
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

Finally moving to official org.json implementation! #194

Merged
merged 6 commits into from
Jul 19, 2024

Conversation

carterpage
Copy link
Member

Fix for issue #179.

This is a fundamental change and will require a major version increment (2.0.0) at the next release.

Replace org.json dependency to use the org.json package.

Some behavioral changes / possible gotchas:

  • Duplicate keys are no longer supported, which is consistent with expected behavior.
  • JSONException is now a RuntimeException and does not need to be declared as thrown.
  • JSONArray.put cannot simply accept "null" as a value and requires casting or JSONObject.Null

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant