EndMessage writes out the '}' or '>' symbol.
()
| 89 | |
| 90 | // EndMessage writes out the '}' or '>' symbol. |
| 91 | func (e *Encoder) EndMessage() { |
| 92 | e.prepareNext(messageClose) |
| 93 | e.out = append(e.out, e.delims[1]) |
| 94 | } |
| 95 | |
| 96 | // WriteName writes out the field name and the separator ':'. |
| 97 | func (e *Encoder) WriteName(s string) { |