mirror of
https://github.com/nlohmann/json.git
synced 2026-04-01 22:02:45 +00:00
✅ add test
This commit is contained in:
@@ -12739,7 +12739,7 @@ class json_pointer
|
||||
{
|
||||
if (JSON_HEDLEY_UNLIKELY(!element.second.is_primitive()))
|
||||
{
|
||||
JSON_THROW(detail::type_error::create(315, "values in object must be primitive", diagnostics_t(element)));
|
||||
JSON_THROW(detail::type_error::create(315, "values in object must be primitive", diagnostics_t(element.second)));
|
||||
}
|
||||
|
||||
// assign value to reference pointed to by JSON pointer; Note that if
|
||||
|
||||
Reference in New Issue
Block a user