|
Orcus
|
Public Types | |
| typedef _Handler | handler_type |
Public Member Functions | |
| threaded_json_parser (const char *p, size_t n, handler_type &hdl, size_t min_token_size) | |
| threaded_json_parser (const char *p, size_t n, handler_type &hdl, size_t min_token_size, size_t max_token_size) | |
| void | parse () |
| json::parser_stats | get_stats () const |
| void | swap_string_pool (string_pool &pool) |
| orcus::threaded_json_parser< _Handler >::threaded_json_parser | ( | const char * | p, |
| size_t | n, | ||
| handler_type & | hdl, | ||
| size_t | min_token_size ) |
Constructor.
| p | pointer to a string stream containing JSON string. |
| n | size of the stream. |
| hdl | handler class instance. |
| min_token_size | minimum size of the internal token buffer. |
| orcus::threaded_json_parser< _Handler >::threaded_json_parser | ( | const char * | p, |
| size_t | n, | ||
| handler_type & | hdl, | ||
| size_t | min_token_size, | ||
| size_t | max_token_size ) |
Constructor.
| p | pointer to a string stream containing JSON string. |
| n | size of the stream. |
| hdl | handler class instance. |
| min_token_size | minimum size of the internal token buffer. |
| max_token_size | maximum size of the internal token buffer. |
| json::parser_stats orcus::threaded_json_parser< _Handler >::get_stats | ( | ) | const |
Get statistics on the parsing session. Call this only after the parsing has finished.
| void orcus::threaded_json_parser< _Handler >::parse | ( | ) |
Call this method to start parsing.