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

◆ keys()

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

Definition at line 522 of file json.h.

524 {
525 fl::vector<fl::string> result;
526 if (mValue && mValue->is_object()) {
527 for (auto it = begin(); it != end(); ++it) {
528 auto keyValue = *it;
529 result.push_back(keyValue.first);
530 }
531 }
fl::shared_ptr< json_value > mValue
Definition json.h:130
json_value::iterator begin() FL_NOEXCEPT
Definition json.h:473
json_value::iterator end() FL_NOEXCEPT
Definition json.h:477
expected< T, E > result
Alias for expected (Rust-style naming)
Definition result.h:31

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

Referenced by getObjectKeys(), and printStreamRaw().

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