mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 08:48:30 +01:00
Return JsonArray and JsonObject by value (closes #309)
This commit is contained in:
@@ -123,8 +123,8 @@ TEST_CASE("JsonVariant set()/get()") {
|
||||
|
||||
SECTION("CanStoreObject") {
|
||||
DynamicJsonDocument doc;
|
||||
JsonObject &object = doc.to<JsonObject>();
|
||||
JsonObject object = doc.to<JsonObject>();
|
||||
|
||||
checkReference<JsonObject>(object);
|
||||
checkValue<JsonObject>(object);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user