folly::dynamic::try_get_ptr

Resolves a JSON pointer against this dynamic.

Synopsis

Declared in <folly/json/dynamic.h>

resolved_json_pointer<dynamic const>
try_get_ptr(json_pointer const& ptr) const && = delete;

Return Value

The resolved value with its parent context, or a resolution error.

Parameters

NameDescription
ptrThe JSON pointer locating the element.