]> Cypherpunks repositories - gostls13.git/commitdiff
encoding/json: clarify correct usage of struct tags in associated article.
authorDan Callahan <dan.callahan@gmail.com>
Wed, 31 Oct 2012 22:52:27 +0000 (15:52 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 31 Oct 2012 22:52:27 +0000 (15:52 -0700)
Fixes #4297.

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/6817045

doc/articles/json_and_go.html

index 067e23ce970437e0bd0c6010b1702582b32c0f94..aab800e86066333136739e4b5438ba5ce6e4f035 100644 (file)
@@ -130,7 +130,7 @@ preference):
 
 <ul>
 <li>
-An exported field with a tag of <code>"Foo"</code> (see the
+An exported field with a tag of <code>`json:"Foo"`</code> (see the
 <a href="/ref/spec#Struct_types">Go spec</a> for more on struct tags),
 </li>
 <li>