We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b2f299 commit d15cedbCopy full SHA for d15cedb
parser_test.go
@@ -988,6 +988,18 @@ var getStringTests = []GetTest{
988
path: []string{"c"},
989
isErr: true,
990
},
991
+ {
992
+ desc: `empty array index`,
993
+ json: `[""]`,
994
+ path: []string{"[]"},
995
+ isFound: false,
996
+ },
997
998
+ desc: `malformed array index`,
999
1000
+ path: []string{"["},
1001
1002
1003
}
1004
1005
var getUnsafeStringTests = []GetTest{
0 commit comments