MCPcopy Create free account
hub / github.com/FastLED/FastLED / as_string

Method as_string

src/fl/stl/json.h:284–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282 }
283
284 fl::optional<fl::string> as_string() const FL_NOEXCEPT {
285 if (!mValue) return fl::nullopt;
286 return mValue->as_string();
287 }
288 // Zero-copy pointer accessors
289 const json_array* as_array() const FL_NOEXCEPT { return mValue ? mValue->as_array() : nullptr; }
290 const json_object* as_object() const FL_NOEXCEPT { return mValue ? mValue->as_object() : nullptr; }

Callers 15

processRpcMethod · 0.45
scheduleFunctionMethod · 0.45
methodsMethod · 0.45
handleMethod · 0.45
handle_maybeMethod · 0.45
idToStringMethod · 0.45
parseChunkedMessagesMethod · 0.45
resolveRpcMethod · 0.45
resolveRpcStreamMethod · 0.45
as_implMethod · 0.45
parseV2SegmentArrayFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected