deserialization of CBOR, MessagePack, and UBJSON values More...
Collaboration diagram for nlohmann::detail::binary_reader< BasicJsonType, InputAdapterType, SAX >:Public Member Functions | |
| __attribute__ ((__nonnull__(3))) bool sax_parse(const input_format_t format | |
| binary_reader (binary_reader &&)=default | |
| binary_reader (const binary_reader &)=delete | |
| binary_reader (InputAdapterType &&adapter) noexcept | |
| create a binary reader More... | |
| binary_reader & | operator= (binary_reader &&)=default |
| binary_reader & | operator= (const binary_reader &)=delete |
Public Attributes | |
| std::size_t | chars_read = 0 |
| the number of characters read | |
| char_int_type | current = std::char_traits<char_type>::eof() |
| the current character | |
| json_sax_t const bool const cbor_tag_handler_t bool | InputIsLittleEndian |
| const bool | is_little_endian = little_endianness() |
| whether we can assume little endianness | |
| json_sax_t * | sax = nullptr |
| the SAX parser | |
| json_sax_t * | sax_ |
| json_sax_t const bool | strict = true |
| json_sax_t const bool const cbor_tag_handler_t | tag_handler |
deserialization of CBOR, MessagePack, and UBJSON values
|
explicitnoexcept |
create a binary reader
| [in] | adapter | input adapter to read from |
| nlohmann::detail::binary_reader< BasicJsonType, InputAdapterType, SAX >::__attribute__ | ( | (__nonnull__(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 |
References nlohmann::detail::array_end, nlohmann::detail::array_start, nlohmann::json_sax< BasicJsonType >::binary(), nlohmann::json_sax< BasicJsonType >::boolean(), Feel::elements(), nlohmann::json_sax< BasicJsonType >::end_array(), nlohmann::json_sax< BasicJsonType >::end_object(), nlohmann::detail::json_sax_dom_parser< BasicJsonType >::json_sax_dom_parser(), nlohmann::json_sax< BasicJsonType >::key(), nlohmann::detail::key, nlohmann::json_sax< BasicJsonType >::null(), nlohmann::json_sax< BasicJsonType >::number_float(), nlohmann::json_sax< BasicJsonType >::number_integer(), nlohmann::json_sax< BasicJsonType >::number_unsigned(), nlohmann::detail::object_end, nlohmann::detail::object_start, nlohmann::json_sax< BasicJsonType >::parse_error(), nlohmann::json_sax< BasicJsonType >::start_array(), nlohmann::json_sax< BasicJsonType >::start_object(), nlohmann::json_sax< BasicJsonType >::string(), val(), and nlohmann::detail::value.