MCPcopy Create free account
hub / github.com/bdring/FluidNC / member

Method member

FluidNC/src/JSONEncoder.cpp:233–236  ·  view source on GitHub ↗

Creates a "tag":"value" member from a C-style string

Source from the content-addressed store, hash-verified

231
232// Creates a "tag":"value" member from a C-style string
233void JSONencoder::member(const char* tag, const char* value) {
234 begin_member(tag);
235 quoted(value);
236}
237
238// Creates a "tag":"value" member from a C++ string
239void JSONencoder::member(const char* tag, const std::string& value) {

Callers 15

fileShowSomeFunction · 0.80
fileShowHashFunction · 0.80
fileSendJsonFunction · 0.80
listFilesystemJSONFunction · 0.80
listGCodeFilesFunction · 0.80
addWebuiMethod · 0.80
sendAuthMethod · 0.80
sendStatusMethod · 0.80
handleFileOpsMethod · 0.80
showSysStatsJSONMethod · 0.80
listSettingsJSONMethod · 0.80

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected