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

◆ begin() [2/2]

iterator fl::json_value::begin ( )
inline

Definition at line 1145 of file types.h.

1145 {
1146 if (is_object()) {
1147 auto ptr = data.ptr<json_object>();
1148 return iterator(ptr->begin());
1149 }
1150 // Use temporary empty object to avoid static initialization conflicts with Teensy
1151 return iterator(json_object().begin());
1152 }
fl::flat_map< fl::string, fl::shared_ptr< json_value >, fl::StringFastLess > json_object
Definition types.h:34
json_value::iterator iterator
Definition types.h:697
variant_t data
Definition types.h:700
bool is_object() const FL_NOEXCEPT
Definition types.h:906
iterator begin() FL_NOEXCEPT
Definition types.h:1145

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

Referenced by begin(), begin(), and keys().

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