Hey all,
I want to use a for loop to add data to the json structure:
JsonWriterStatic<256> jw;
{
JsonWriterAutoObject obj(&jw);
for (uint8_t j = 0; j < VALUES; j++)
{
jw.insertKeyValue("value_name", dataArray0[0][j]);
}
}
This works as expected. My question now is if there is a way that I can also change the value name inside the for loop? Right now, every value would be named the same.
Thanks in advance
Tim