Constructor. If _encapsulate is true, the output is encapsulated in [MSG:JSON: ...] lines
| 8 | // Constructor. If _encapsulate is true, the output is |
| 9 | // encapsulated in [MSG:JSON: ...] lines |
| 10 | JSONencoder::JSONencoder(Channel* channel, const char* json_tag) : level(0), _channel(channel), _json_tag(json_tag), category("nvs") { |
| 11 | count[level] = 0; |
| 12 | } |
| 13 | JSONencoder::JSONencoder(JsonCallback callback) : level(0), _callback(callback) { |
| 14 | count[level] = 0; |
| 15 | } |
nothing calls this directly
no outgoing calls
no test coverage detected