MCPcopy Create free account
hub / github.com/Barracuda09/SATPI / addValueString

Method addValueString

src/base/JSONSerializer.h:84–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82 }
83
84 void addValueString(const std::string &name, const std::string &value) {
85 checkAddComma();
86 _json += '\"';
87 _json += name;
88 _json += "\": \"";
89 _json += makeJSONString(value);
90 _json += '\"';
91 }
92
93 const std::string &getString() {
94 if (_objectStarted != 0) {

Callers 1

makeJSONMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected