![]() |
Argo
1.0
A C++ library for handling JSON.
|
JSON pointers as per the RFT. More...
#include <pointer.hpp>
Classes | |
class | token |
Tokens in a JSON pointer. More... | |
Public Member Functions | |
pointer (const std::string &pointer) | |
const std::list< token > & | get_path () const |
JSON pointers as per the RFT.
Instances of this class hold a representation of a JSON pointer, the logic to apply it is held within the json class.
Definition at line 41 of file pointer.hpp.
pointer::pointer | ( | const std::string & | pointer | ) |
New pointer. Parse the given path as part of construction.
json_pointer_exception | if the pointer argument doesn't represent a valid path. |
Definition at line 34 of file pointer.cpp.
const list< pointer::token > & pointer::get_path | ( | ) | const |
Get the list of tokens representing the pointer.
Definition at line 258 of file pointer.cpp.