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

JSON validation does not catch leading zeros #1827

Open
noa-dav opened this issue May 25, 2023 · 0 comments
Open

JSON validation does not catch leading zeros #1827

noa-dav opened this issue May 25, 2023 · 0 comments

Comments

@noa-dav
Copy link

noa-dav commented May 25, 2023

Problem

The JSON validation in the react-ace library fails to detect and raise an error when a JSON number contains a leading zero. According to the JSON specification, leading zeros are not allowed in numbers. This can result in incorrect parsing and unexpected behavior when working with JSON data.

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

No branches or pull requests

1 participant