aboutsummaryrefslogtreecommitdiff
path: root/src/encoding
diff options
context:
space:
mode:
Diffstat (limited to 'src/encoding')
-rw-r--r--src/encoding/json/stream.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoding/json/stream.go b/src/encoding/json/stream.go
index 75a4270df7..63aa030955 100644
--- a/src/encoding/json/stream.go
+++ b/src/encoding/json/stream.go
@@ -471,7 +471,7 @@ func (dec *Decoder) tokenError(c byte) (Token, error) {
case tokenObjectComma:
context = " after object key:value pair"
}
- return nil, &SyntaxError{"invalid character " + quoteChar(c) + " " + context, dec.offset()}
+ return nil, &SyntaxError{"invalid character " + quoteChar(c) + context, dec.offset()}
}
// More reports whether there is another element in the