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

◆ readJson()

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

Definition at line 105 of file file_system.cpp.

105 {
106 Str text;
107 if (!readText(path, &text)) {
108 return false;
109 }
110 return parseJson(text.c_str(), doc);
111}
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: