FastLED 3.9.15
Loading...
Searching...
No Matches

◆ readJson()

bool fl::FileSystem::readJson ( const char * path,
JsonDocument * doc )

Definition at line 98 of file file_system.cpp.

98 {
99 Str text;
100 if (!readText(path, &text)) {
101 return false;
102 }
103 return parseJson(text.c_str(), doc);
104}
bool readText(const char *path, Str *out)
bool parseJson(const char *json, fl::JsonDocument *doc, Str *_error)
Definition json.cpp:6

References fl::StrN< SIZE >::c_str(), fl::parseJson(), and readText().

+ Here is the call graph for this function: