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

◆ keys()

fl::vector< fl::string > fl::json_value::keys ( ) const
inline

Definition at line 1464 of file types.h.

1464 {
1465 fl::vector<fl::string> result;
1466 if (is_object()) {
1467 for (auto it = begin(); it != end(); ++it) {
1468 auto keyValue = *it;
1469 result.push_back(keyValue.first);
1470 }
1471 }
1472 return result;
1473 }
expected< T, E > result
Alias for expected (Rust-style naming)
Definition result.h:31
bool is_object() const FL_NOEXCEPT
Definition types.h:906
iterator begin() FL_NOEXCEPT
Definition types.h:1145
iterator end() FL_NOEXCEPT
Definition types.h:1154

References begin(), end(), FL_NOEXCEPT, and is_object().

Referenced by get_object_keys().

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