golang/go

encoding/json: eof error of NewDecoder().Decode() should be same with Unmarshal()

Open

#25,956 opened on Jun 19, 2018

View on GitHub
 (20 comments) (13 reactions) (0 assignees)Go (19,008 forks)batch import
NeedsDecisionhelp wanted

Repository metrics

Stars
 (133,883 stars)
PR merge metrics
 (No merged PRs in 30d)

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

Contributor guide