#include <ArduinoJson.h>
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
String s = ""; // "{\"1\":true,\"2\":false}";
StaticJsonDocument<200> doc;
doc["1"] = true;
doc["2"] = false;
doc["3"] = true;
doc["4"] = true;
doc["5"] = true;
serializeJson(doc, s);
Serial.println(s);
}
void loop() {
// put your main code here, to run repeatedly:
}