Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Access an element via JSON Pointer.
valueconst* find_pointer(string_viewptr,std::error_code& ec) 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. |
|
|
Set to the error, if any occurred. |
pointer to the element identified by ptr.