📝 fix example

parent e9a845f0
......@@ -79,6 +79,12 @@ class sax_event_consumer : public json::json_sax_t
return true;
}
bool binary(binary_t& val) override
{
events.push_back("binary");
return true;
}
bool parse_error(std::size_t position, const std::string& last_token, const json::exception& ex) override
{
events.push_back("error: " + std::string(ex.what()));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment