Updated FAQ (markdown)

Benoît Blanchon
2015-11-01 14:55:49 +01:00
parent 75664ae86d
commit 818fd42ae9

6
FAQ.md

@@ -117,9 +117,9 @@ bool deserialize(SensorData& data, char* json)
{
StaticJsonBuffer<SENSORDATA_JSON_SIZE> jsonBuffer;
JsonObject& root = jsonBuffer.parseObject(json);
data.name = json["name"];
data.time = json["time"];
data.value = json["value"];
data.name = root["name"];
data.time = root["time"];
data.value = root["value"];
return root.success();
}