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

Method StartObject

example/filterkey/filterkey.cpp:36–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected