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

Method verbatim

FluidNC/src/JSONEncoder.cpp:40–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40void JSONencoder::verbatim(const std::string& s) {
41 for (auto const c : s) {
42 if (c != '\n') {
43 add(c);
44 }
45 }
46}
47
48// Private function to add commas between
49// elements as needed, omitting the comma

Callers 1

fileSendJsonFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected