ArduinoJson::JsonArray has no member named 'clear'
Created by: bhcuong2008
Hi,
I create a JsonArray as below, then got error 'ArduinoJson::JsonArray {aka class ArduinoJson6180_D1::ArrayRef}' has no member named 'clear'
My target platform: ESP32 Arduino 1.06, IDF 3.3.5 ArduinoJson 6.18
StaticJsonDocument<512> test;
JsonArray ja = test.as<JsonArray>();
ja.clear();
I dont know why because the document says it has method clear.
Thanks.