mirror of
https://github.com/json-iterator/go.git
synced 2025-04-01 21:24:21 +02:00
reverse last commit, need a better fix
This commit is contained in:
parent
23078876c5
commit
b2a706d14b
@ -700,7 +700,7 @@ func (encoder *marshalerEncoder) EncodeInterface(val interface{}, stream *Stream
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (encoder *marshalerEncoder) IsEmpty(ptr unsafe.Pointer) bool {
|
func (encoder *marshalerEncoder) IsEmpty(ptr unsafe.Pointer) bool {
|
||||||
return false
|
return encoder.checkIsEmpty.IsEmpty(ptr)
|
||||||
}
|
}
|
||||||
|
|
||||||
type textMarshalerEncoder struct {
|
type textMarshalerEncoder struct {
|
||||||
@ -726,7 +726,7 @@ func (encoder *textMarshalerEncoder) EncodeInterface(val interface{}, stream *St
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (encoder *textMarshalerEncoder) IsEmpty(ptr unsafe.Pointer) bool {
|
func (encoder *textMarshalerEncoder) IsEmpty(ptr unsafe.Pointer) bool {
|
||||||
return false
|
return encoder.checkIsEmpty.IsEmpty(ptr)
|
||||||
}
|
}
|
||||||
|
|
||||||
type unmarshalerDecoder struct {
|
type unmarshalerDecoder struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user