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.
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.