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

◆ begin() [2/2]

iterator fl::json_value::begin ( )
inline

Definition at line 1174 of file types.h.

1174 {
1175 if (is_object()) {
1176 auto ptr = data.ptr<json_object>();
1177 return iterator(ptr->begin());
1178 }
1179 // Use temporary empty object to avoid static initialization conflicts with Teensy
1180 return iterator(json_object().begin());
1181 }
fl::flat_map< fl::string, fl::shared_ptr< json_value >, fl::StringFastLess > json_object
Definition types.h:55
bool is_object() const FL_NO_EXCEPT
Definition types.h:935
json_value::iterator iterator
Definition types.h:757
variant_t data
Definition types.h:760
iterator begin() FL_NO_EXCEPT
Definition types.h:1174

References begin(), data, fl::FL_NO_EXCEPT, 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: