|
FastLED 3.10.6
|
Encode a CRGB pixel buffer as a versioned JSON object.
| pixels | Pixel buffer to encode. |
version and pixels fields, or nullopt if the document could not be built (for example, due to allocation failure). Definition at line 63 of file crgb_json.cpp.hpp.
References fl::json::array(), FL_NO_EXCEPT, fl::json::is_array(), fl::json::is_object(), nullopt, fl::json::object(), fl::json::push_back(), fl::json::set(), and fl::json::size().
Here is the call graph for this function: