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

Method comma

FluidNC/src/JSONEncoder.cpp:62–67  ·  view source on GitHub ↗

Private function to add commas between elements as needed, omitting the comma before the first element in a list.

Source from the content-addressed store, hash-verified

60// elements as needed, omitting the comma
61// before the first element in a list.
62void JSONencoder::comma() {
63 if (count[level]) {
64 add(',');
65 }
66 count[level]++;
67}
68
69// Private function to add a name enclosed with quotes.
70void JSONencoder::quoted(const char* s) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected