BeginObject starts an object.
()
| 60 | |
| 61 | // BeginObject starts an object. |
| 62 | func (jw *JSONWriter) BeginObject() { |
| 63 | jw.buf = append(jw.buf, '{') |
| 64 | jw.separatorStack = append(jw.separatorStack, commaSeparator) |
| 65 | jw.separator = nil |
| 66 | } |
| 67 | |
| 68 | // EndObject ends an object. |
| 69 | func (jw *JSONWriter) EndObject() { |
no outgoing calls