1
0
mirror of https://github.com/json-iterator/go.git synced 2025-06-21 23:07:33 +02:00

fix read int

This commit is contained in:
Tao Wen
2017-02-07 09:24:36 +08:00
parent 6880076b44
commit 2922666717
4 changed files with 26 additions and 2 deletions

View File

@ -16,7 +16,7 @@ func Unmarshal(data []byte, v interface{}) error {
return nil
}
if iter.Error == nil {
iter.reportError("UnmarshalAny", "there are bytes left after unmarshal")
iter.reportError("Unmarshal", "there are bytes left after unmarshal")
}
return iter.Error
}