MCPcopy Create free account
hub / github.com/Tencent/rapidjson / StartObject

Method StartObject

example/filterkeydom/filterkeydom.cpp:37–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 bool String (const Ch* str, SizeType len, bool copy) { return filterValueDepth_ > 0 ? EndValue() : outputHandler_.String (str, len, copy) && EndValue(); }
36
37 bool StartObject() {
38 if (filterValueDepth_ > 0) {
39 filterValueDepth_++;
40 return true;
41 }
42 else {
43 filteredKeyCount_.push(0);
44 return outputHandler_.StartObject();
45 }
46 }
47
48 bool Key(const Ch* str, SizeType len, bool copy) {
49 if (filterValueDepth_ > 0)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected