mirror of
https://github.com/nlohmann/json.git
synced 2025-07-22 15:21:52 +03:00
started fixing #323
This commit is contained in:
@ -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