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 a0fc844 commit 16553cfCopy full SHA for 16553cf
parser.go
@@ -122,7 +122,7 @@ func searchKeys(data []byte, keys ...string) int {
122
if i < ln &&
123
data[i] == ':' && // if string is a Key, and key level match
124
keyLevel == level-1 && // If key nesting level match current object nested level
125
- keys[level-1] == unsafeBytesToString(data[keyBegin:keyEnd]) {
+ keys[level-1] == string(data[keyBegin:keyEnd]) {
126
keyLevel++
127
// If we found all keys in path
128
if keyLevel == lk {
0 commit comments