mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-02 08:48:27 +01:00
Test empty object serialization
This commit is contained in:
@@ -87,4 +87,9 @@ JsonNode* JsonObject::getOrCreateNodeAt(char const* key)
|
||||
_node->content.asObject.child = newKeyNode;
|
||||
|
||||
return newValueNode;
|
||||
}
|
||||
|
||||
void JsonObject::serialize(char* buffer, size_t bufferSize) const
|
||||
{
|
||||
strcpy_s(buffer, bufferSize, "{}");
|
||||
}
|
||||
Reference in New Issue
Block a user