Fixed typo in comment

close #109
This commit is contained in:
tidwall 2019-04-05 11:08:30 -07:00
parent 181e11634d
commit fb8e539484

View File

@ -2104,7 +2104,7 @@ func Valid(json string) bool {
// }
// 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 {
_, ok := validpayload(json, 0)