JsonWriterStatic<256> jw;
{
JsonWriterAutoObject obj(&jw);
jw.insertKeyValue("value", 1.45);
jw.insertKeyValue("timestamp", 32767); // Value of 1590016063305 causes error
jw.insertKeyObject("context");
jw.insertKeyValue("lat", 40.44);
jw.insertKeyValue("lng", -76.12);
jw.finishObjectOrArray();
}
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.