(key string, obj ObjectMarshaler)
| 103 | } |
| 104 | |
| 105 | func (enc *jsonEncoder) AddObject(key string, obj ObjectMarshaler) error { |
| 106 | enc.addKey(key) |
| 107 | return enc.AppendObject(obj) |
| 108 | } |
| 109 | |
| 110 | func (enc *jsonEncoder) AddBinary(key string, val []byte) { |
| 111 | enc.AddString(key, base64.StdEncoding.EncodeToString(val)) |
nothing calls this directly
no test coverage detected