access specified object element via JSON Pointer with default value
Synopsis
Declared in <nlohmann/json.hpp>
template<class ValueType>
requires detail::is_getable<basic_json_t, ValueType>::value
&& !std::is_same<value_t, detail::uncvref_t<ValueType>>::value
ValueType
value(
json_pointer const& ptr,
ValueType const& default_value) const;
Parameters
Name |
Description |
ptr |
JSON Pointer, see |
Created with MrDocs