mirror of
https://github.com/nlohmann/json.git
synced 2026-11-18 05:00:19 +00:00
started fixing #323
This commit is contained in:
1 parent
a0ef5a194c
commit
2fa8ea0f74
5 files changed
+101
-15
No files matched your search
@@ -482,4 +482,11 @@ TEST_CASE("regression tests")
|
||||
CHECK_NOTHROW(j << f);
|
||||
}
|
||||
}
|
||||
|
||||
SECTION("issue #323 - add nested object capabilities to pointers")
|
||||
{
|
||||
json j;
|
||||
j["/this/that"_json_pointer] = 27;
|
||||
CHECK(j == json({{"this", {{"that", 27}}}}));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user