| 100 | private: |
| 101 | |
| 102 | void checkAddComma() { |
| 103 | const char c = _json.back(); |
| 104 | if (c == '\"' || c == '}' || c == ']' || std::isdigit(c)) { |
| 105 | _json += ", "; |
| 106 | } |
| 107 | } |
| 108 | |
| 109 | std::string makeJSONString(const std::string &msg) { |
| 110 | std::string json(msg); |
nothing calls this directly
no outgoing calls
no test coverage detected