MCPcopy Create free account
hub / github.com/cinience/RedisStudio / EndArray

Function EndArray

include/rapidjson/writer.h:155–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153 }
154
155 bool EndArray(SizeType elementCount = 0) {
156 (void)elementCount;
157 RAPIDJSON_ASSERT(level_stack_.GetSize() >= sizeof(Level));
158 RAPIDJSON_ASSERT(level_stack_.template Top<Level>()->inArray);
159 level_stack_.template Pop<Level>(1);
160 bool ret = WriteEndArray();
161 if (level_stack_.Empty()) // end of json text
162 os_->Flush();
163 return ret;
164 }
165 //@}
166
167 /*! @name Convenience extensions */

Callers

nothing calls this directly

Calls 4

WriteEndArrayFunction · 0.85
GetSizeMethod · 0.45
EmptyMethod · 0.45
FlushMethod · 0.45

Tested by

no test coverage detected