Skip to content

Simplify integer validation in JSON Path parser #96

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

Merged
merged 1 commit into from
May 13, 2025

Conversation

thehiddenwaffle
Copy link
Contributor

#95 Replaced range validation with a safe_int rule in the grammar to enforce integer bounds. Removed associated constants and validation code. There should be little to no performance loss for numbers less than 1 quadrillion.

Replaced range validation with a `safe_int` rule in the grammar to enforce integer bounds. Removed associated constants and validation code. There should be little to no performance loss for numbers less than 1 quadrillion.
@besok
Copy link
Owner

besok commented May 13, 2025

thank for the pr

@besok besok merged commit 6f8bbd3 into besok:main May 13, 2025
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.

2 participants