Description
compiler fail when i use the size parameter
Troubleshooter's report
- The program uses ArduinoJson 7
- The issue happens at compile time
- Error says "no matching function for call to ..."
- The error is not in the list
Environment
- Microcontroller: esp32
- Core/Framework: arduino
- IDE: plateformio
Reproduction code
tatic int parse_json_response(size_t size)
{
if (size == 0)
{
return ERR_SER_DOMOTIC;
}
doc_dom.clear();
const DeserializationError error =
deserializeJson(doc_dom, client,size);
if (error)
{
Serial.print(F("Erreur deserialisation JSON : "));
Serial.println(error.c_str());
return ERR_SER_DOMOTIC;
}
Description
compiler fail when i use the size parameter
Troubleshooter's report
Environment
Reproduction code