serialization to CBOR and MessagePack values More...
Public Member Functions | |
| binary_writer (output_adapter_t< CharType > adapter) | |
| create a binary writer More... | |
| void | write_cbor (const BasicJsonType &j) |
| [in] j JSON value to serialize More... | |
| void | write_msgpack (const BasicJsonType &j) |
| [in] j JSON value to serialize More... | |
serialization to CBOR and MessagePack values
|
inlineexplicit |
create a binary writer
| [in] | adapter | output adapter to write to |
|
inline |
[in] j JSON value to serialize
References nlohmann::detail::array, nlohmann::detail::boolean, nlohmann::detail::null, nlohmann::detail::number_float, nlohmann::detail::number_integer, nlohmann::detail::number_unsigned, nlohmann::detail::object, and nlohmann::detail::string.
|
inline |
[in] j JSON value to serialize
References nlohmann::detail::array, nlohmann::detail::boolean, nlohmann::detail::binary_reader< BasicJsonType >::little_endianess(), nlohmann::detail::null, nlohmann::detail::number_float, nlohmann::detail::number_integer, nlohmann::detail::number_unsigned, nlohmann::detail::object, and nlohmann::detail::string.
