| 136 | bool Key(const Ch* str, SizeType length, bool copy = false) { return String(str, length, copy); } |
| 137 | |
| 138 | bool EndObject(SizeType memberCount = 0) { |
| 139 | (void)memberCount; |
| 140 | RAPIDJSON_ASSERT(level_stack_.GetSize() >= sizeof(Level)); |
| 141 | RAPIDJSON_ASSERT(!level_stack_.template Top<Level>()->inArray); |
| 142 | level_stack_.template Pop<Level>(1); |
| 143 | bool ret = WriteEndObject(); |
| 144 | if (level_stack_.Empty()) // end of json text |
| 145 | os_->Flush(); |
| 146 | return ret; |
| 147 | } |
| 148 | |
| 149 | bool StartArray() { |
| 150 | Prefix(kArrayType); |
nothing calls this directly
no test coverage detected