mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 16:14:05 +01:00
Removed JsonValue::null(), moved the instance to JsonObjectBase
This commit is contained in:
@@ -100,9 +100,10 @@ namespace ArduinoJson
|
||||
return printToImpl(content, p);
|
||||
}
|
||||
|
||||
static JsonValue& null()
|
||||
void reset()
|
||||
{
|
||||
return nullInstance;
|
||||
content.asDouble = 0;
|
||||
printToImpl = printStringTo;
|
||||
}
|
||||
|
||||
private:
|
||||
@@ -129,8 +130,6 @@ namespace ArduinoJson
|
||||
{
|
||||
return p.print(c.asDouble, DIGITS);
|
||||
}
|
||||
|
||||
static JsonValue nullInstance;
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user