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

◆ keys()

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

Definition at line 683 of file json.h.

685 {
686 fl::vector<fl::string> result;
687 if (mValue && mValue->is_object()) {
688 for (auto it = begin(); it != end(); ++it) {
689 auto keyValue = *it;
690 result.push_back(keyValue.first);
691 }
692 }
fl::shared_ptr< json_value > mValue
Definition json.h:263
json_value::iterator begin() FL_NO_EXCEPT
Definition json.h:634
json_value::iterator end() FL_NO_EXCEPT
Definition json.h:638
expected< T, E > result
Alias for expected (Rust-style naming)
Definition result.h:31

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

Referenced by getObjectKeys().

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