v0.0.471 Revert "v0.0.470 Add GoextJsonMarshaller interface to call when marshalling json via gojson"
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 2m50s
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 2m50s
This commit is contained in:
@@ -769,13 +769,6 @@ type structFields struct {
|
||||
}
|
||||
|
||||
func (se structEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {
|
||||
|
||||
if v.CanAddr() && v.Addr().Type().Implements(goextJsonMarshallerType) {
|
||||
if gejm, ok := v.Addr().Interface().(GoextJsonMarshaller); ok {
|
||||
gejm.PreGoJsonMarshal()
|
||||
}
|
||||
}
|
||||
|
||||
next := byte('{')
|
||||
FieldLoop:
|
||||
for i := range se.fields.list {
|
||||
|
Reference in New Issue
Block a user