| 63 | } |
| 64 | |
| 65 | const char* c_str() const { |
| 66 | static const char* messages[] = { |
| 67 | "Ok", "EmptyInput", "IncompleteInput", |
| 68 | "InvalidInput", "NoMemory", "TooDeep"}; |
| 69 | ARDUINOJSON_ASSERT(static_cast<size_t>(code_) < |
| 70 | sizeof(messages) / sizeof(messages[0])); |
| 71 | return messages[code_]; |
| 72 | } |
| 73 | |
| 74 | #if ARDUINOJSON_ENABLE_PROGMEM |
| 75 | const __FlashStringHelper* f_str() const { |
nothing calls this directly
no outgoing calls
no test coverage detected