You've already forked json-iterator
mirror of
https://github.com/json-iterator/go.git
synced 2025-06-24 23:16:47 +02:00
#61 remove internal buffer from objectAny
This commit is contained in:
@ -53,6 +53,7 @@ func Test_wrap_object(t *testing.T) {
|
||||
should.Equal("hello", any.Get("Field1").ToString())
|
||||
any = Wrap(TestObject{"hello", "world"})
|
||||
should.Equal(2, any.Size())
|
||||
should.Equal(`{"Field1":"hello"}`, any.Get('*').ToString())
|
||||
}
|
||||
|
||||
func Test_any_within_struct(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user