| Bug #70839 | JSON_VALID allows to have two elements with the same key | ||
|---|---|---|---|
| Submitted: | 6 Nov 2013 18:24 | Modified: | 14 Nov 2013 0:57 |
| Reporter: | Sveta Smirnova | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: JSON User-defined function ( UDF ) | Severity: | S2 (Serious) |
| Version: | 0.2 | OS: | Any |
| Assigned to: | Sveta Smirnova | CPU Architecture: | Any |
[14 Nov 2013 0:54]
Sveta Smirnova
Posted by developer:
Fixed in versions 0.2.1 and 0.3.0.
Additionally fixed related bug when result of call "select json_valid('{"foo": "bar", "bar": "baz"]');" was wrong.

Description: JSON_VALID allows to have elements with the same key How to repeat: select json_valid('{"foo": "bar", "foo": "baz"}'); json_valid('{"foo": "bar", "foo": "baz"}') 1