(e *encodeState, v reflect.Value, opts encOpts)
| 614 | } |
| 615 | |
| 616 | func interfaceEncoder(e *encodeState, v reflect.Value, opts encOpts) { |
| 617 | if v.IsNil() { |
| 618 | e.WriteString("null") |
| 619 | return |
| 620 | } |
| 621 | e.reflectValue(v.Elem(), opts) |
| 622 | } |
| 623 | |
| 624 | func unsupportedTypeEncoder(e *encodeState, v reflect.Value, _ encOpts) { |
| 625 | e.error(&UnsupportedTypeError{v.Type()}) |
nothing calls this directly
no test coverage detected