mirror of https://github.com/tidwall/gjson.git
bug fix
This commit is contained in:
parent
0fc85398c8
commit
1ed0d856e3
2
gjson.go
2
gjson.go
|
@ -1009,8 +1009,8 @@ func parseObjectPath(path string) (r objectPathResult) {
|
||||||
r.piped = true
|
r.piped = true
|
||||||
} else {
|
} else {
|
||||||
r.path = path[i+1:]
|
r.path = path[i+1:]
|
||||||
|
r.more = true
|
||||||
}
|
}
|
||||||
r.more = true
|
|
||||||
return
|
return
|
||||||
} else if path[i] == '|' {
|
} else if path[i] == '|' {
|
||||||
r.part = string(epart)
|
r.part = string(epart)
|
||||||
|
|
Loading…
Reference in New Issue