FastLED 3.10.6
Loading...
Searching...
No Matches

◆ parse()

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

Definition at line 842 of file json.h.

844 {
845 auto parsed = json_value::parse2(txt);
846 if (parsed) {
847 json result;
848 result.mValue = parsed;
849 return result;
850 }
json() FL_NO_EXCEPT
Definition json.h:267
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_NO_EXCEPT

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

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

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