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

◆ parse()

static json fl::json::parse ( const fl::string & txt)
inlinestatic

Definition at line 677 of file json.h.

679 {
680 auto parsed = json_value::parse2(txt);
681 if (parsed) {
682 json result;
683 result.mValue = parsed;
684 return result;
685 }
json() FL_NOEXCEPT
Definition json.h:134
expected< T, E > result
Alias for expected (Rust-style naming)
Definition result.h:31
static fl::shared_ptr< json_value > parse2(const fl::string &txt) FL_NOEXCEPT

References json(), FL_NOEXCEPT, parse(), and fl::json_value::parse2().

Referenced by fl::createSerialRequestSource(), fl::Rpc::handle(), fl::Rpc::handle_maybe(), loop(), parse(), fl::net::http::Response::parse_json_body(), fl::net::http::HttpStreamTransport::parseChunkedMessages(), fl::ScreenMap::ParseJson(), fl::FileSystem::readJson(), and setup().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: