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

New JSON parsing API with significant performance optimizations #72

Merged
merged 40 commits into from
Feb 9, 2025

Conversation

esaulpaugh
Copy link
Owner

@esaulpaugh esaulpaugh commented Feb 6, 2025

fix bug whereby function json with no type field can't be filtered out in array parse;
add public class ABIParser;
major optimization to slow path in json parse;
add method ABIJSON.optimizeJson(String);
use IllegalStateException instead of JsonIOException;
parse json more strictly, especially when gson at runtime is v2.11.0 or higher;
limit JsonReader nesting depth to 50 when gson at runtime is v2.12.0 or higher;
FLAG_LEGACY_DECODE no longer labeled experimental;

@esaulpaugh esaulpaugh merged commit 93c93ea into master Feb 9, 2025
26 checks passed
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