mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-08-16 19:11:15 +02:00
Updated FAQ (markdown)
2
FAQ.md
2
FAQ.md
@@ -113,7 +113,7 @@ struct SensorData {
|
|||||||
|
|
||||||
#define SENSORDATA_JSON_SIZE (JSON_OBJECT_SIZE(3))
|
#define SENSORDATA_JSON_SIZE (JSON_OBJECT_SIZE(3))
|
||||||
|
|
||||||
bool deserialize(SensorData& data, const char* json)
|
bool deserialize(SensorData& data, char* json)
|
||||||
{
|
{
|
||||||
StaticJsonBuffer<SENSORDATA_JSON_SIZE> jsonBuffer;
|
StaticJsonBuffer<SENSORDATA_JSON_SIZE> jsonBuffer;
|
||||||
JsonObject& root = jsonBuffer.parseObject(json);
|
JsonObject& root = jsonBuffer.parseObject(json);
|
||||||
|
Reference in New Issue
Block a user