forked from mirror/gjson
Update comments
This commit is contained in:
parent
5827eb3b24
commit
75046d2a7a
|
@ -128,8 +128,7 @@ result.Str // holds the string
|
|||
result.Num // holds the float64 number
|
||||
result.Raw // holds the raw json
|
||||
result.Index // index of raw value in original json, zero means index unknown
|
||||
result.Indexes // indexes of all the elements that match on a `#(...)#` query
|
||||
|
||||
result.Indexes // indexes of all the elements that match on a path containing the '#' query character.
|
||||
```
|
||||
|
||||
There are a variety of handy functions that work on a result:
|
||||
|
|
3
gjson.go
3
gjson.go
|
@ -64,7 +64,8 @@ type Result struct {
|
|||
Num float64
|
||||
// Index of raw value in original json, zero means index unknown
|
||||
Index int
|
||||
// Indexes of all the elements that match on a `#(...)#` query.
|
||||
// Indexes of all the elements that match on a path containing the '#'
|
||||
// query character.
|
||||
Indexes []int
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue