GoPxL SDK
GoPxLSdk::GoJsonPointer Class Reference

Description

Represents json pointer as described in Section 3 of RFC6901.

Public Member Functions

static GoJsonPointer Combine (const GoJsonPointer &target, const std::string &tail)
 Combines GoJsonPointer and key. More...
 
static GoJsonPointer Combine (const GoJsonPointer &target, const GoJsonPointer &tail)
 Combines two GoJsonPointers. More...
 
std::shared_ptr
< nlohmann::json_pointer
< nlohmann::json > > & 
GetHandle ()
 Gets handle to Json::json_pointer object. More...
 
const std::shared_ptr
< nlohmann::json_pointer
< nlohmann::json > > & 
GetHandle () const
 
 GoJsonPointer ()=default
 Creates GoJson::Pointer object. More...
 
 GoJsonPointer (const std::string &data)
 Creates GoJson::Pointer object. More...
 
 GoJsonPointer (const GoJsonPointer &data)
 Creates GoJson::Pointer object. More...
 
static GoJsonPointer ParseString (const std::string &data)
 Parses json pointer string. More...
 
void PopBack ()
 Deletes last pointer key. More...
 
void PushBack (const std::string &key)
 Appends the key. More...
 
void PushBack (const GoJsonPointer &pointer)
 Appends the GoJsonPointer. More...
 
static std::vector< std::string > Tokenize (const std::string &key, char delimiter)
 Split key into tokens. More...
 
const std::string ToString () const
 Represents GoJsonPointer as string. More...
 

The documentation for this class was generated from the following file: