New answers tagged

2

You are repeatedly overwriting the ssid property of the same object. Instead, you want to write different properties, like wifiJsonObject["ssid" + String(i+1)] = WiFi.SSID(i); Then, only serialize the document once, when it is complete. That being said, I strongly concur with Juraj in that the correct way to represent a list in JSON (and wifiList is ...


Top 50 recent answers are included