JSON for Modern C++ 2.1.1
|
JSON Pointer. More...
#include <json.hpp>
Public Member Functions | |
json_pointer (const std::string &s="") | |
create JSON pointer | |
operator std::string () const | |
return a string representation of the JSON pointer | |
std::string | to_string () const noexcept |
return a string representation of the JSON pointer | |
Friends | |
class | basic_json |
allow basic_json to access private members | |
bool | operator!= (json_pointer const &lhs, json_pointer const &rhs) noexcept |
bool | operator== (json_pointer const &lhs, json_pointer const &rhs) noexcept |
A JSON pointer defines a string syntax for identifying a specific value within a JSON document. It can be used with functions at
and operator[]
. Furthermore, JSON pointers are the base for JSON patches.