FastLED 3.10.8
Loading...
Searching...
No Matches

◆ keys()

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

Definition at line 1493 of file types.h.

1493 {
1494 fl::vector<fl::string> result;
1495 if (is_object()) {
1496 for (auto it = begin(); it != end(); ++it) {
1497 auto keyValue = *it;
1498 result.push_back(keyValue.first);
1499 }
1500 }
1501 return result;
1502 }
expected< T, E > result
Alias for expected (Rust-style naming)
Definition result.h:31
bool is_object() const FL_NO_EXCEPT
Definition types.h:935
iterator begin() FL_NO_EXCEPT
Definition types.h:1174
iterator end() FL_NO_EXCEPT
Definition types.h:1183

References begin(), end(), fl::FL_NO_EXCEPT, and is_object().

Referenced by get_object_keys().

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