()
| 158 | } |
| 159 | |
| 160 | func (w *jsonArrayWriter) Preface() []json.Delim { |
| 161 | if w.started { |
| 162 | return []json.Delim{'['} |
| 163 | } |
| 164 | return nil |
| 165 | } |
| 166 | |
| 167 | // ReadFrom implements io.ReaderFrom to write more data than read, |
| 168 | // which otherwise results in an error from io.Copy(). |
nothing calls this directly
no outgoing calls
no test coverage detected