Report duplicate keys in check_json

Raise ValueError and return 1 if json contains duplicate keys
This commit is contained in:
Aditya Khursale 2021-02-17 02:08:57 +05:30 committed by Anthony Sottile
parent 11a2fdbab8
commit fe37451719
3 changed files with 22 additions and 1 deletions

View file

@ -0,0 +1,4 @@
{
"hello": "world",
"hello": "planet"
}