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 1785 of file json.h.

1787 {
1788 if (!m_value) {
1789 return fl::nullopt;
1790 }
fl::shared_ptr< JsonValue > m_value
Definition json.h:1622
constexpr nullopt_t nullopt
Definition optional.h:11

References as_impl(), m_value, 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: