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

Method Serialize

example/serialize/serialize.cpp:87–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85
86 template <typename Writer>
87 void Serialize(Writer& writer) const {
88 writer.StartObject();
89
90 Person::Serialize(writer);
91
92 writer.String("education");
93 if (education_)
94 education_->Serialize(writer);
95 else
96 writer.Null();
97
98 writer.EndObject();
99 }
100
101private:
102

Callers

nothing calls this directly

Calls 5

StartObjectMethod · 0.45
StringMethod · 0.45
SerializeMethod · 0.45
NullMethod · 0.45
EndObjectMethod · 0.45

Tested by

no test coverage detected