diff --git a/json.go b/json.go index 7c29e25..29b4922 100644 --- a/json.go +++ b/json.go @@ -116,6 +116,7 @@ func (c *jsonCodec) Unmarshal(b []byte, v interface{}, opts ...codec.Option) err return nil case codec.RawMessage: copy(m, b) + return nil } unmarshalOptions := DefaultUnmarshalOptions