1 #ifndef _json_lexer_hpp_ 2 #define _json_lexer_hpp_ 78 void consume_white_space();
121 void read_matching(
const char *s);
129 void append_to_number_buffer(
char *s,
size_t &index,
int c);
136 size_t read_digits(
size_t &index);
142 void throw_number_exception(
int c);
148 bool m_last_put_back;
154 size_t m_max_token_length;
A class to read JSON messages from various types of input stream.
#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.
A lexical analyser for JSON messages.