forked from mirror/gjson
added Exists() to the list of handy functions
This commit is contained in:
parent
e8d1a9ab93
commit
8f291465f6
|
@ -120,6 +120,7 @@ result.Index // index of raw value in original json, zero means index unknown
|
||||||
There are a variety of handy functions that work on a result:
|
There are a variety of handy functions that work on a result:
|
||||||
|
|
||||||
```go
|
```go
|
||||||
|
result.Exists() bool
|
||||||
result.Value() interface{}
|
result.Value() interface{}
|
||||||
result.Int() int64
|
result.Int() int64
|
||||||
result.Uint() uint64
|
result.Uint() uint64
|
||||||
|
|
Loading…
Reference in New Issue