You've already forked json-iterator
mirror of
https://github.com/json-iterator/go.git
synced 2025-06-15 22:50:24 +02:00
fix map[string]interface{} in struct
This commit is contained in:
@ -226,7 +226,7 @@ func (codec *interfaceCodec) encode(ptr unsafe.Pointer, stream *Stream) {
|
||||
}
|
||||
|
||||
func (encoder *interfaceCodec) encodeInterface(val interface{}, stream *Stream) {
|
||||
WriteToStream(val, stream, encoder)
|
||||
stream.WriteVal(val)
|
||||
}
|
||||
|
||||
type anyCodec struct {
|
||||
|
Reference in New Issue
Block a user