deserialization of CBOR, MessagePack, and UBJSON values More...
#include <json.h>
deserialization of CBOR, MessagePack, and UBJSON values
Public Member Functions | |
binary_reader (InputAdapterType &&adapter) | |
create a binary reader More... | |
binary_reader (const binary_reader &)=delete | |
binary_reader (binary_reader &&)=default | |
binary_reader & | operator= (const binary_reader &)=delete |
binary_reader & | operator= (binary_reader &&)=default |
~binary_reader ()=default | |
JSON_HEDLEY_NON_NULL (3) bool sax_parse(const input_format_t format | |
Public Attributes | |
json_sax_t * | sax_ |
json_sax_t const bool | strict = true |
json_sax_t const bool const cbor_tag_handler_t | tag_handler |
json_sax_t const bool const cbor_tag_handler_t bool | InputIsLittleEndian |
char_int_type | current = std::char_traits<char_type>::eof() |
the current character More... | |
std::size_t | chars_read = 0 |
the number of characters read More... | |
const bool | is_little_endian = little_endianess() |
whether we can assume little endianess More... | |
json_sax_t * | sax = nullptr |
the SAX parser More... | |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inlineexplicit |
|
delete |
|
default |
|
default |
nlohmann::detail::binary_reader< BasicJsonType, InputAdapterType, SAX >::JSON_HEDLEY_NON_NULL | ( | 3 | ) | const |
[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 |
|
default |
|
delete |
std::size_t nlohmann::detail::binary_reader< BasicJsonType, InputAdapterType, SAX >::chars_read = 0 |
char_int_type nlohmann::detail::binary_reader< BasicJsonType, InputAdapterType, SAX >::current = std::char_traits<char_type>::eof() |
json_sax_t const bool const cbor_tag_handler_t bool nlohmann::detail::binary_reader< BasicJsonType, InputAdapterType, SAX >::InputIsLittleEndian |
const bool nlohmann::detail::binary_reader< BasicJsonType, InputAdapterType, SAX >::is_little_endian = little_endianess() |
json_sax_t* nlohmann::detail::binary_reader< BasicJsonType, InputAdapterType, SAX >::sax = nullptr |
json_sax_t* nlohmann::detail::binary_reader< BasicJsonType, InputAdapterType, SAX >::sax_ |
json_sax_t const bool nlohmann::detail::binary_reader< BasicJsonType, InputAdapterType, SAX >::strict = true |
json_sax_t const bool const cbor_tag_handler_t nlohmann::detail::binary_reader< BasicJsonType, InputAdapterType, SAX >::tag_handler |