Function operator””_json_pointer
Defined in File json.hpp
Function Documentation
-
inline nlohmann::json::json_pointer operator""_json_pointer(const char *s, std::size_t n)
user-defined string literal for JSON pointer
This operator implements a user-defined string literal for JSON Pointers. It can be used by adding
"_json_pointer"to a string literal and returns a JSON pointer object if no parse error occurred.- Since
version 2.0.0
- Parameters:
s – [in] a string representation of a JSON Pointer
n – [in] the length of string s
- Returns:
a JSON pointer object