File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -128,8 +128,7 @@ result.Str // holds the string
128128result.Num // holds the float64 number
129129result.Raw // holds the raw json
130130result.Index // index of raw value in original json, zero means index unknown
131- result.Indexes // indexes of all the elements that match on a `#(...)#` query
132-
131+ result.Indexes // indexes of all the elements that match on a path containing the '#' query character.
133132```
134133
135134There are a variety of handy functions that work on a result:
Original file line number Diff line number Diff line change @@ -64,7 +64,8 @@ type Result struct {
6464 Num float64
6565 // Index of raw value in original json, zero means index unknown
6666 Index int
67- // Indexes of all the elements that match on a `#(...)#` query.
67+ // Indexes of all the elements that match on a path containing the '#'
68+ // query character.
6869 Indexes []int
6970}
7071
You can’t perform that action at this time.
0 commit comments