summaryrefslogtreecommitdiff
path: root/json/tests/draft4/uniqueItems.json
diff options
context:
space:
mode:
Diffstat (limited to 'json/tests/draft4/uniqueItems.json')
-rw-r--r--json/tests/draft4/uniqueItems.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/json/tests/draft4/uniqueItems.json b/json/tests/draft4/uniqueItems.json
index fb1ddb5..4846c77 100644
--- a/json/tests/draft4/uniqueItems.json
+++ b/json/tests/draft4/uniqueItems.json
@@ -113,6 +113,16 @@
"description": "objects are non-unique despite key order",
"data": [{"a": 1, "b": 2}, {"b": 2, "a": 1}],
"valid": false
+ },
+ {
+ "description": "{\"a\": false} and {\"a\": 0} are unique",
+ "data": [{"a": false}, {"a": 0}],
+ "valid": true
+ },
+ {
+ "description": "{\"a\": true} and {\"a\": 1} are unique",
+ "data": [{"a": true}, {"a": 1}],
+ "valid": true
}
]
},