(arr ArrayMarshaler)
| 208 | } |
| 209 | |
| 210 | func (enc *jsonEncoder) AppendArray(arr ArrayMarshaler) error { |
| 211 | enc.addElementSeparator() |
| 212 | enc.buf.AppendByte('[') |
| 213 | err := arr.MarshalLogArray(enc) |
| 214 | enc.buf.AppendByte(']') |
| 215 | return err |
| 216 | } |
| 217 | |
| 218 | func (enc *jsonEncoder) AppendObject(obj ObjectMarshaler) error { |
| 219 | // Close ONLY new openNamespaces that are created during |
no test coverage detected