31 token::token() noexcept : m_type(null_e)
35 token::token(
const token &other)
49 m_type = other.m_type;
50 m_raw_value = other.m_raw_value;
59 m_type = other.m_type;
60 other.m_type = null_e;
61 m_raw_value = move(other.m_raw_value);
const std::string & get_raw_value() const
Get the raw untranslated JSON 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() noexcept
Constructor. null token.
token_type
Type of the token. Matches the RFC except that ints and floats are separated out. ...
token_type get_type() const
Get the token type.