1
0
mirror of https://github.com/json-iterator/go.git synced 2025-10-31 00:07:40 +02:00

support non empty interface

This commit is contained in:
Tao Wen
2017-05-27 00:36:21 +08:00
parent a7a7c7879a
commit 707ed3b091
4 changed files with 107 additions and 12 deletions

View File

@@ -212,4 +212,4 @@ func Test_unmarshaler_and_decoder(t *testing.T) {
err = Unmarshal([]byte(`{"Field":"hello"}`), &obj)
should.Nil(err)
should.Equal(10, int(*obj.Field))
}
}