Closed ingydotnet closed 2 years ago
The JSON schema defines int as 0 | -? [1-9] [0-9]*, but it shows this in Example 10.8 Integers: [ 0, -0, 3, -19 ] -0 doesn't match the pattern.
0 | -? [1-9] [0-9]*
Integers: [ 0, -0, 3, -19 ]
Seems to be valid JSON, so a the pattern is wrong.
I was wrong. The tag resolution for int is in a confusing place. Looks like it's under floating point section.
The JSON schema defines int as
0 | -? [1-9] [0-9]*
, but it shows this in Example 10.8Integers: [ 0, -0, 3, -19 ]
-0 doesn't match the pattern.Seems to be valid JSON, so a the pattern is wrong.