AlgoPlus v0.1.0
|
deserialization of CBOR, MessagePack, and UBJSON values More...
#include <json.hpp>
Public Member Functions | |
binary_reader (InputAdapterType &&adapter, const input_format_t format=input_format_t::json) noexcept | |
create a binary reader | |
binary_reader (const binary_reader &)=delete | |
binary_reader (binary_reader &&)=default | |
binary_reader & | operator= (const binary_reader &)=delete |
binary_reader & | operator= (binary_reader &&)=default |
bool | sax_parse (const input_format_t format, json_sax_t *sax_, const bool strict=true, const cbor_tag_handler_t tag_handler=cbor_tag_handler_t::error) |
deserialization of CBOR, MessagePack, and UBJSON values
|
inlineexplicitnoexcept |
create a binary reader
[in] | adapter | input adapter to read from |
|
inline |
[in] | format | the binary format to parse |
[in] | sax_ | a SAX event processor |
[in] | strict | whether to expect the input to be consumed completed |
[in] | tag_handler | how to treat CBOR tags |