4#ifndef FASTLED_ENABLE_JSON
6#define FASTLED_ENABLE_JSON 0
8#define FASTLED_ENABLE_JSON 1
12#if FASTLED_ENABLE_JSON
13#include "third_party/arduinojson/json.h"
20#if !FASTLED_ENABLE_JSON
23class JsonDocument:
public ::FLArduinoJson::JsonDocument {};
26bool parseJson(
const char* json, JsonDocument* doc, Str* error =
nullptr);
27void toJson(
const JsonDocument& doc, Str* jsonBuffer);
Implements a simple red square effect for 2D LED grids.