From fb8e539484c9fb2df9f472bc0e3949a74c256f95 Mon Sep 17 00:00:00 2001 From: tidwall Date: Fri, 5 Apr 2019 11:08:30 -0700 Subject: [PATCH] Fixed typo in comment close #109 --- gjson.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gjson.go b/gjson.go index a344b2d..ee946ab 100644 --- a/gjson.go +++ b/gjson.go @@ -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)