mirror of
https://github.com/golang/go.git
synced 2025-11-08 04:31:01 +00:00
encoding/json: fix comments, tweak tests for tag names
R=bradfitz CC=golang-dev https://golang.org/cl/5558047
This commit is contained in:
parent
21d3721eb8
commit
d4fe9c6a9d
2 changed files with 5 additions and 4 deletions
|
|
@ -79,7 +79,8 @@ import (
|
|||
// Int64String int64 `json:",string"`
|
||||
//
|
||||
// The key name will be used if it's a non-empty string consisting of
|
||||
// only Unicode letters, digits, dollar signs, hyphens, and underscores.
|
||||
// only Unicode letters, digits, dollar signs, percent signs, hyphens,
|
||||
// underscores and slashes.
|
||||
//
|
||||
// Map values encode as JSON objects.
|
||||
// The map's key type must be string; the object keys are used directly
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue