Make is_null/is_not_null DSL functions include new JSON-null type (#883)

* Make is_null/is_not_null DSL functions include new JSON-null type

* regression-test files
This commit is contained in:
John Kerl 2022-01-18 08:25:03 -05:00 committed by GitHub
parent eb7e29d207
commit 4fb0b716ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 86 additions and 4 deletions

37
test/input/nullvals.json Normal file
View file

@ -0,0 +1,37 @@
[
{
"a": "r",
"x": 1,
"y": 2,
"z": ""
},
{
"a": "s",
"x": 3,
"y": 4,
"z": ""
},
{
"a": "t",
"x": 5,
"y": "",
"z": ""
},
{
"a": "u",
"x": "",
"y": 6
},
{
"a": "v",
"x": "",
"y": "",
"z": "null"
},
{
"a": "v",
"x": "",
"y": "",
"z": null
}
]