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

◆ try_as()

template<typename T>
fl::optional< T > fl::json::try_as ( ) const
inline

Definition at line 319 of file json.h.

321 {
322 if (!mValue) {
323 return fl::nullopt;
324 }
fl::shared_ptr< json_value > mValue
Definition json.h:130
constexpr nullopt_t nullopt
Definition optional.h:13

References as_impl(), FL_NOEXCEPT, mValue, and fl::nullopt.

Referenced by as(), as_or(), setup(), and value().

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