You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
With a type like:
type LogstashMsg struct {
Source string `json:"@source"`
}
What is the expected output?
the emitted json key should be "@source"
What do you see instead?
the json key will be emitted as "Source"
Which compiler are you using (5g, 6g, 8g, gccgo)?
6g
Which operating system are you using?
linux
Which version are you using? (run 'go version')
go version weekly.2012-03-27 +b9cbd32246e3
(tip)
Please provide any additional information below.
CL forthcoming
The text was updated successfully, but these errors were encountered:
««« backport 233ff5d46b3d
encoding/json: allow punctuation in tag names
everything except backslash and the quote chars is fair game.
Fixes#3546.
R=rsc, r
CC=golang-dev
https://golang.org/cl/6048047
»»»
The text was updated successfully, but these errors were encountered: