EndObject writes out the '}' symbol.
()
| 195 | |
| 196 | // EndObject writes out the '}' symbol. |
| 197 | func (e *Encoder) EndObject() { |
| 198 | e.prepareNext(objectClose) |
| 199 | e.out = append(e.out, '}') |
| 200 | } |
| 201 | |
| 202 | // WriteName writes out the given string in JSON string value and the name |
| 203 | // separator ':'. Returns error if input string contains invalid UTF-8, which |