parent
181e11634d
commit
fb8e539484
2
gjson.go
2
gjson.go
|
@ -2104,7 +2104,7 @@ func Valid(json string) bool {
|
||||||
// }
|
// }
|
||||||
// value := gjson.Get(json, "name.last")
|
// value := gjson.Get(json, "name.last")
|
||||||
//
|
//
|
||||||
// If working with bytes, this method preferred over Valid(string(data))
|
// If working with bytes, this method preferred over ValidBytes(string(data))
|
||||||
//
|
//
|
||||||
func ValidBytes(json []byte) bool {
|
func ValidBytes(json []byte) bool {
|
||||||
_, ok := validpayload(json, 0)
|
_, ok := validpayload(json, 0)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user