json: fix doc comment

R=gri
CC=golang-dev
https://golang.org/cl/179128
This commit is contained in:
Russ Cox 2009-12-22 09:47:02 -08:00
parent 2e853ec88a
commit d488c4b4ac

View file

@ -19,7 +19,7 @@ import (
// of Go data types. The data return value may be one of float64, string,
// bool, nil, []interface{} or map[string]interface{}. The array and map
// elements may in turn contain any of the types listed above and so on.
//
// If Decode encounters a syntax error, it returns with err set to an
// instance of ParseError. See ParseError documentation for details.
func Decode(s string) (data interface{}, err os.Error) {