JSON for Modern C++  3.5.0

◆ array_index()

template<typename BasicJsonType >
static int nlohmann::json_pointer< BasicJsonType >::array_index ( const std::string &  s)
inlinestatic
Parameters
[in]sreference token to be converted into an array index
Returns
integer representation of s
Exceptions
out_of_range.404if string s could not be converted to an integer

Definition at line 11791 of file json.hpp.