mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
encoding/json: fix bad formatting introduced in CL 20356
Change-Id: I39a8b543e472e5ec5d4807a9b7f61657465c5ce5 Reviewed-on: https://go-review.googlesource.com/31816 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
a7cad4110a
commit
aeb8b9591c
1 changed files with 2 additions and 2 deletions
|
|
@ -70,8 +70,8 @@ import (
|
||||||
//
|
//
|
||||||
// To unmarshal a JSON object into a map, Unmarshal first establishes a map to
|
// To unmarshal a JSON object into a map, Unmarshal first establishes a map to
|
||||||
// use. If the map is nil, Unmarshal allocates a new map. Otherwise Unmarshal
|
// use. If the map is nil, Unmarshal allocates a new map. Otherwise Unmarshal
|
||||||
// reuses the existing map, keeping existing entries. Unmarshal then stores key-
|
// reuses the existing map, keeping existing entries. Unmarshal then stores
|
||||||
// value pairs from the JSON object into the map. The map's key type must
|
// key-value pairs from the JSON object into the map. The map's key type must
|
||||||
// either be a string, an integer, or implement encoding.TextUnmarshaler.
|
// either be a string, an integer, or implement encoding.TextUnmarshaler.
|
||||||
//
|
//
|
||||||
// If a JSON value is not appropriate for a given target type,
|
// If a JSON value is not appropriate for a given target type,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue