MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / writeString

Method writeString

Source/JSON/jsonhelper.cpp:95–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95std::string SimpleJSONWrapper::writeString(bool humanFriendly) {
96 if (humanFriendly) {
97 Json::StyledWriter writer;
98 return writer.write(root);
99 } else {
100 Json::FastWriter writer;
101 return writer.write(root);
102 }
103}

Callers 2

RequestUploadMethod · 0.80
SetJSONMethod · 0.80

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected