Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
03713a136f |
1
json.go
1
json.go
@ -116,6 +116,7 @@ func (c *jsonCodec) Unmarshal(b []byte, v interface{}, opts ...codec.Option) err
|
|||||||
return nil
|
return nil
|
||||||
case codec.RawMessage:
|
case codec.RawMessage:
|
||||||
copy(m, b)
|
copy(m, b)
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
unmarshalOptions := DefaultUnmarshalOptions
|
unmarshalOptions := DefaultUnmarshalOptions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user