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

Method StartObject

example/messagereader/messagereader.cpp:29–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 MessageHandler() : messages_(), state_(kExpectObjectStart), name_() {}
28
29 bool StartObject() {
30 switch (state_) {
31 case kExpectObjectStart:
32 state_ = kExpectNameOrObjectEnd;
33 return true;
34 default:
35 return false;
36 }
37 }
38
39 bool String(const char* str, SizeType length, bool) {
40 switch (state_) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected