Details
Description
query | result | expected |
---|---|---|
select JSON_VALID('
{"number": 1E-4}
'); |
1 | 1 |
select JSON_VALID('
{"number": 0E-4}
'); |
0 | 1 |
select JSON_VALID('
{"number": 0.0}
'); |
1 | 1 |
0E-4 is a valid number and should be validated
All other json validators tested accept zero in scientific notation.