![]() |
Home | Libraries | People | FAQ | More |
Access an element via JSON Pointer.
boost::system::result<valueconst & > try_at_pointer(string_viewptr) const noexcept;
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.
No-throw guarantee.
|
Name |
Description |
|---|---|
|
|
JSON Pointer string. |
boost::system::result<value&>
containing either a reference to the element identified by ptr or a corresponding error_code.