Callback function called when a coercion error occurs.
More...
#include <json_error_handler.h>
|
const char * | m_msgnam |
| The name of the field/expression being coerced to be used in error message if conversion failed. More...
|
|
Callback function called when a coercion error occurs.
It reports the error as WARNING
◆ JsonCoercionWarnHandler()
JsonCoercionWarnHandler::JsonCoercionWarnHandler |
( |
const char * |
msgnam | ) |
|
|
inlineexplicit |
◆ operator()()
void JsonCoercionWarnHandler::operator() |
( |
const char * |
target_type, |
|
|
int |
error_code |
|
) |
| const |
◆ m_msgnam
const char* JsonCoercionWarnHandler::m_msgnam |
|
private |
The name of the field/expression being coerced to be used in error message if conversion failed.
The documentation for this class was generated from the following files: