JSON for Modern C++  3.0.1

◆ array_index()

static int nlohmann::json_pointer::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 7027 of file json.hpp.