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

JSONTokener constructor fallback #888

Merged
merged 2 commits into from
Jan 10, 2024
Merged

JSONTokener constructor fallback #888

merged 2 commits into from
Jan 10, 2024

Conversation

lhazlewood
Copy link
Contributor

OrgJsonDeserializer: Added fallback implementation for Android when JSONTokener(Reader) constructor is not available.

Closes #882

…SONTokener(Reader) constructor is not available.

Closes #882
@lhazlewood lhazlewood added this to the 0.12.4 milestone Jan 10, 2024
…n to factory class that caches constructor availability results for better performance (so a try/catch isn't attempted on every JSON deserialization attempt).
@lhazlewood lhazlewood merged commit 584d91c into master Jan 10, 2024
24 checks passed
@lhazlewood lhazlewood deleted the 882-fix branch January 10, 2024 02:50
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.

java.lang.NoSuchMethodError: org.json.JSONTokener.<init>(Ljava/io/Reader;)V
1 participant