From 4506796a6ebee9799dd6272c0fb12c7b993631e2 Mon Sep 17 00:00:00 2001 From: Joe Tsai Date: Sat, 21 Jun 2025 10:51:08 -0700 Subject: encoding/json/jsontext: consistently use JSON terminology RFC 8259, section 2 uses the term "begin-array" amd "begin-object" rather than "start array" or "start object". Be consistent in our documentation. Change-Id: I172eb354c5e64b84c74bd662b1e581424e719a32 Reviewed-on: https://go-review.googlesource.com/c/go/+/683155 Auto-Submit: Joseph Tsai Reviewed-by: Damien Neil Reviewed-by: Dmitri Shuralyov LUCI-TryBot-Result: Go LUCI Reviewed-by: Johan Brandhorst-Satzkorn --- src/encoding/json/jsontext/doc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/encoding/json/jsontext/doc.go') diff --git a/src/encoding/json/jsontext/doc.go b/src/encoding/json/jsontext/doc.go index 20ef5271d7..8e4bced015 100644 --- a/src/encoding/json/jsontext/doc.go +++ b/src/encoding/json/jsontext/doc.go @@ -25,8 +25,8 @@ // - a JSON literal (i.e., null, true, or false) // - a JSON string (e.g., "hello, world!") // - a JSON number (e.g., 123.456) -// - a start or end delimiter for a JSON object (i.e., '{' or '}') -// - a start or end delimiter for a JSON array (i.e., '[' or ']') +// - a begin or end delimiter for a JSON object (i.e., '{' or '}') +// - a begin or end delimiter for a JSON array (i.e., '[' or ']') // // A JSON token is represented by the [Token] type in Go. Technically, // there are two additional structural characters (i.e., ':' and ','), -- cgit v1.3-6-g1900