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