Please answer these questions before submitting your issue. Thanks!
- What version of Go are you using (
go version)?
1.6
- What operating system and processor architecture are you using (
go env)?
darwin/amd6
- What did you do?
https://play.golang.org/p/MsVP9u-We5
- What did you expect to see?
{"M":null}
https://golang.org/pkg/encoding/json/#Marshal says "A nil interface value encodes as the null JSON object."
- What did you see instead?
panic: interface conversion: interface is nil, not json.Marshaler