Skip to content

Commit f37cc44

Browse files
authored
Merge pull request #301 from svher/master
fix object path parse error
2 parents 0fc8539 + 1ed0d85 commit f37cc44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gjson.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,8 +1009,8 @@ func parseObjectPath(path string) (r objectPathResult) {
10091009
r.piped = true
10101010
} else {
10111011
r.path = path[i+1:]
1012+
r.more = true
10121013
}
1013-
r.more = true
10141014
return
10151015
} else if path[i] == '|' {
10161016
r.part = string(epart)

0 commit comments

Comments
 (0)