| 210 | bool Key(const Ch* str, SizeType length, bool copy = false) { return String(str, length, copy); } |
| 211 | |
| 212 | bool EndObject(SizeType memberCount = 0) { |
| 213 | (void)memberCount; |
| 214 | RAPIDJSON_ASSERT(level_stack_.GetSize() >= sizeof(Level)); |
| 215 | RAPIDJSON_ASSERT(!level_stack_.template Top<Level>()->inArray); |
| 216 | level_stack_.template Pop<Level>(1); |
| 217 | return EndValue(WriteEndObject()); |
| 218 | } |
| 219 | |
| 220 | bool StartArray() { |
| 221 | Prefix(kArrayType); |