diff --git a/cpp/jsonfile_tests/json_object b/cpp/jsonfile_tests/json_object index 9c295d7..9465b59 100644 Binary files a/cpp/jsonfile_tests/json_object and b/cpp/jsonfile_tests/json_object differ diff --git a/cpp/jsonfile_tests/json_object.cpp b/cpp/jsonfile_tests/json_object.cpp index 913e881..34f50cb 100644 --- a/cpp/jsonfile_tests/json_object.cpp +++ b/cpp/jsonfile_tests/json_object.cpp @@ -38,8 +38,7 @@ void create_json_file() }, "result": { "backgrounds": ["test1.png", "test2.png", "test3.png"] - }, - "data2": {} + } })"); data["data2"] = data2; diff --git a/cpp/jsonfile_tests/test.json b/cpp/jsonfile_tests/test.json index b97f3f3..8ad9497 100644 --- a/cpp/jsonfile_tests/test.json +++ b/cpp/jsonfile_tests/test.json @@ -1,6 +1,5 @@ { "data2": { - "data2": {}, "error": { "code": 101, "message": "operation failed!"