diff --git a/tic.cpp b/tic.cpp index 0162c1b..d37a7c3 100644 --- a/tic.cpp +++ b/tic.cpp @@ -302,11 +302,9 @@ String ticValuesAsJson() { // Use snprintf to construct the JSON string efficiently snprintf(jres, sizeof(jres), - "\"%s\": [\"%s\", \"%s\", \"%s\"]", + "\"%s\": \"%s\"", SelectedEtiquette[i].c_str(), - TicValues[i].globale.c_str(), - TicValues[i].value.c_str(), - TicValues[i].checkok?"true":"false"); + TicValues[i].value.c_str()); response += jres; }