1 #ifndef _json_token_hpp_ 2 #define _json_token_hpp_ 94 token(token_type t, const
char *raw_value,
size_t len);
102 token &operator=(const token &other);
105 token &operator=(token &&other);
108 const
std::
string &get_raw_value() const;
111 token_type get_type() const;
116 std::
string m_raw_value;
#define NAMESPACE
You can change the namespace of the whole library by changing this value.
Common defs needed everywhere and, as far as is possible, platform specific changes.
Lexical tokens read from a JSON message.
token_type
Type of the token. Matches the RFC except that ints and floats are separated out. ...