mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-11-02 23:51:37 +01:00
Remove createNestedArray() and createNestedObject()
This commit is contained in:
@@ -245,7 +245,7 @@ TEST_CASE("JsonObject::operator[]") {
|
||||
#endif
|
||||
|
||||
SECTION("chain") {
|
||||
obj.createNestedObject("hello")["world"] = 123;
|
||||
obj["hello"]["world"] = 123;
|
||||
|
||||
REQUIRE(123 == obj["hello"]["world"].as<int>());
|
||||
REQUIRE(true == obj["hello"]["world"].is<int>());
|
||||
|
||||
Reference in New Issue
Block a user