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

Method as_object

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

Source from the content-addressed store, hash-verified

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; }
291
292 // Explicit copy methods - use when you need an owned copy or type conversion
293 fl::optional<json_array> clone_array() const FL_NOEXCEPT { return mValue ? mValue->clone_array() : fl::nullopt; }

Callers 2

as_implMethod · 0.45
ParseJsonMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected