MCPcopy Create free account
hub / github.com/bblanchon/ArduinoJson / c_str

Function c_str

src/ArduinoJson/Deserialization/DeserializationError.hpp:65–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected