Encodes any object into empty json '{}'
| 218 | |
| 219 | // Encodes any object into empty json '{}' |
| 220 | type emptyReflectedEncoder struct { |
| 221 | writer io.Writer |
| 222 | } |
| 223 | |
| 224 | func (enc *emptyReflectedEncoder) Encode(obj interface{}) error { |
| 225 | _, err := enc.writer.Write([]byte("{}")) |
nothing calls this directly
no outgoing calls
no test coverage detected