mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-27 17:27:30 +02:00
Return JsonArray
and JsonObject
by value (closes #309)
This commit is contained in:
@ -12,7 +12,7 @@ static void eraseString(std::string &str) {
|
||||
|
||||
TEST_CASE("std::string") {
|
||||
DynamicJsonDocument doc;
|
||||
JsonArray &array = doc.to<JsonArray>();
|
||||
JsonArray array = doc.to<JsonArray>();
|
||||
|
||||
SECTION("add()") {
|
||||
std::string value("hello");
|
||||
|
Reference in New Issue
Block a user