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

Method Key

example/jsonx/jsonx.cpp:78–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 }
77
78 bool Key(const char* str, SizeType length, bool) {
79 // backup key to name_
80 name_.Clear();
81 for (SizeType i = 0; i < length; i++)
82 name_.Put(str[i]);
83 hasName_ = true;
84 return true;
85 }
86
87 bool EndObject(SizeType) {
88 return WriteEndElement("object");

Callers

nothing calls this directly

Calls 2

ClearMethod · 0.45
PutMethod · 0.45

Tested by

no test coverage detected