StartObject writes out the '{' symbol.
()
| 189 | |
| 190 | // StartObject writes out the '{' symbol. |
| 191 | func (e *Encoder) StartObject() { |
| 192 | e.prepareNext(objectOpen) |
| 193 | e.out = append(e.out, '{') |
| 194 | } |
| 195 | |
| 196 | // EndObject writes out the '}' symbol. |
| 197 | func (e *Encoder) EndObject() { |