react-ace icon indicating copy to clipboard operation
react-ace copied to clipboard

JSON validation does not catch leading zeros

Open noa-dav opened this issue 1 year ago • 2 comments

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.

noa-dav avatar May 25 '23 08:05 noa-dav

@noa-dav How you enabled JSON validation in Ace editor, Can you help me with some snippets

pranavmappoli avatar May 27 '24 07:05 pranavmappoli

@pranavmappoli have you got any answer

RajuGangitla avatar Aug 27 '24 14:08 RajuGangitla