jsonArrayWriter wraps a Writer which writes multiple pages of both JSON arrays and objects. Call Close to write the end of the array.
| 152 | // jsonArrayWriter wraps a Writer which writes multiple pages of both JSON arrays |
| 153 | // and objects. Call Close to write the end of the array. |
| 154 | type jsonArrayWriter struct { |
| 155 | io.Writer |
| 156 | started bool |
| 157 | color bool |
| 158 | } |
| 159 | |
| 160 | func (w *jsonArrayWriter) Preface() []json.Delim { |
| 161 | if w.started { |
nothing calls this directly
no outgoing calls
no test coverage detected