encoding/json: eof error of NewDecoder().Decode() should be same with Unmarshal() #25956
Open
Description
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version
)?
go version go1.10.1 darwin/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env
)?
GOARCH="amd64" GOOS="darwin"
What did you do?
https://play.golang.org/p/gr5cHhrpmbK
What did you expect to see?
shown in previous link
What did you see instead?
shown in previous link