JSON for Modern C++ 2.1.1

Public Member Functions | Friends | List of all members
nlohmann::basic_json::json_pointer Class Reference

JSON Pointer. More...

`#include <json.hpp>`

## Public Member Functions
| json_pointer (const std::string &s="")
| create JSON pointer More...
| operator std::string () const
| return a string representation of the JSON pointer More...
std::string | to_string () const noexcept
| return a string representation of the JSON pointer More...

## Friends
class | basic_json
| allow basic_json to access private members More...
bool | operator!= (json_pointer const &lhs, json_pointer const &rhs) noexcept
bool | operator== (json_pointer const &lhs, json_pointer const &rhs) noexcept

## Detailed Description

###
class nlohmann::basic_json::json_pointer

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.

See also
  RFC 6901

Since
  version 2.0.0

Definition at line 12549 of file json.hpp.