a json parser
More...
#include <json.hpp>
a json parser
Definition at line 354 of file json.hpp.
◆ JsonParser()
JsonParser::JsonParser |
( |
arena_t * |
arena | ) |
|
create a json parser
- Parameters
-
arena | the arena to allocate memory from |
Definition at line 133 of file json.cpp.
◆ get_logger()
logger_t* ctu::json::JsonParser::get_logger |
( |
| ) |
const |
|
inline |
get the logger
- Returns
- the logger
Definition at line 376 of file json.hpp.
◆ parse()
parse a json value parse the contents of an io object into a json value
- Note
- if the parse fails, ctu::json::JsonParser::get_logger will contain error information
- Parameters
-
- Returns
- the parsed json value, invalid if the parse failed
Definition at line 138 of file json.cpp.
The documentation for this class was generated from the following files: