FastLED's Elegant JSON Library: fl::json
void parseSegmentFields(const fl::json &segJson, WLEDSegment &seg)
Parse all fields from a segment JSON object into a WLEDSegment.
bool parseHexColor(const fl::string &hexStr, u8 &r, u8 &g, u8 &b)
Parse hex color string to RGB components.
fl::string rgbToHex(u8 r, u8 g, u8 b)
Convert RGB components to hex string.
Base definition for an LED controller.