Skip to content

Commit

Permalink
Merge pull request #301 from svher/master
Browse files Browse the repository at this point in the history
fix object path parse error
  • Loading branch information
tidwall authored Nov 22, 2022
2 parents 0fc8539 + 1ed0d85 commit f37cc44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gjson.go
Original file line number Diff line number Diff line change
Expand Up @@ -1009,8 +1009,8 @@ func parseObjectPath(path string) (r objectPathResult) {
r.piped = true
} else {
r.path = path[i+1:]
r.more = true
}
r.more = true
return
} else if path[i] == '|' {
r.part = string(epart)
Expand Down

0 comments on commit f37cc44

Please sign in to comment.