![]() |
Home | Libraries | People | FAQ | More |
Access an element via JSON Pointer.
value& at_pointer(string_viewptr,boost::source_locationconst& loc = BOOST_CURRENT_LOCATION) &;
This function is used to access a (potentially nested) element of the value using a JSON Pointer string.
Linear in the sizes of ptr
and underlying array, object, or string.
Strong guarantee.
|
Name |
Description |
|---|---|
|
|
JSON Pointer string. |
|
|
|
reference to the element identified by ptr.
|
Type |
Thrown On |
|---|---|
boost::system::system_error |
if an error occurs. |