Remove createNestedArray() and createNestedObject()

This commit is contained in:
Benoit Blanchon committed 2023-08-09 12:08:21 +02:00
1 parent cdc1262127
commit 7f459adc4b
37 files changed
+99 -547

No files matched your search

+1 -1
View File
@@ -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>());