deserialization of CBOR and MessagePack values More...
Public Member Functions | |
| binary_reader (input_adapter_t adapter) | |
| create a binary reader More... | |
| BasicJsonType | parse_cbor (const bool strict) |
| create a JSON value from CBOR input More... | |
| BasicJsonType | parse_msgpack (const bool strict) |
| create a JSON value from MessagePack input More... | |
Static Public Member Functions | |
| static constexpr bool | little_endianess (int num=1) noexcept |
| determine system byte order More... | |
deserialization of CBOR and MessagePack values
|
inlineexplicit |
create a binary reader
| [in] | adapter | input adapter to read from |
|
inline |
create a JSON value from CBOR input
| [in] | strict | whether to expect the input to be consumed completed |
| parse_error.110 | if input ended unexpectedly or the end of file was not reached when strict was set to true |
| parse_error.112 | if unsupported byte was read |

|
inline |
create a JSON value from MessagePack input
| [in] | strict | whether to expect the input to be consumed completed |
| parse_error.110 | if input ended unexpectedly or the end of file was not reached when strict was set to true |
| parse_error.112 | if unsupported byte was read |

|
inlinestaticnoexcept |
determine system byte order
References nlohmann::detail::array, nlohmann::detail::parse_error::create(), nlohmann::detail::null, nlohmann::detail::object, and nlohmann::detail::string.
Referenced by nlohmann::detail::binary_writer< BasicJsonType, CharType >::write_msgpack().

