|
Instrument Neutral Distributed Interface INDI 2.2.5
|
serialization to CBOR and MessagePack values More...
#include <indijson.hpp>
Public Member Functions | |
| binary_writer (output_adapter_t< CharType > adapter) | |
| create a binary writer | |
| void | write_bson (const BasicJsonType &j) |
| void | write_cbor (const BasicJsonType &j) |
| void | write_msgpack (const BasicJsonType &j) |
| void | write_ubjson (const BasicJsonType &j, const bool use_count, const bool use_type, const bool add_prefix=true, const bool use_bjdata=false) |
Static Public Member Functions | |
| template<typename C = CharType, enable_if_t< std::is_signed< C >::value &&std::is_signed< char >::value > * = nullptr> | |
| static constexpr CharType | to_char_type (std::uint8_t x) noexcept |
| template<typename C = CharType, enable_if_t< std::is_signed< C >::value &&std::is_unsigned< char >::value > * = nullptr> | |
| static CharType | to_char_type (std::uint8_t x) noexcept |
| template<typename C = CharType, enable_if_t< std::is_unsigned< C >::value > * = nullptr> | |
| static constexpr CharType | to_char_type (std::uint8_t x) noexcept |
| template<typename InputCharType, typename C = CharType, enable_if_t< std::is_signed< C >::value &&std::is_signed< char >::value &&std::is_same< char, typename std::remove_cv< InputCharType >::type >::value > * = nullptr> | |
| static constexpr CharType | to_char_type (InputCharType x) noexcept |
serialization to CBOR and MessagePack values
Definition at line 14352 of file indijson.hpp.
|
inlineexplicit |
create a binary writer
| [in] | adapter | output adapter to write to |
Definition at line 14364 of file indijson.hpp.
|
inlinestaticconstexprnoexcept |
Definition at line 16137 of file indijson.hpp.
|
inlinestaticconstexprnoexcept |
Definition at line 16126 of file indijson.hpp.
|
inlinestaticnoexcept |
Definition at line 16115 of file indijson.hpp.
|
inlinestaticconstexprnoexcept |
Definition at line 16108 of file indijson.hpp.
|
inline |
| [in] | j | JSON value to serialize |
Definition at line 14373 of file indijson.hpp.
|
inline |
| [in] | j | JSON value to serialize |
Definition at line 14402 of file indijson.hpp.
|
inline |
| [in] | j | JSON value to serialize |
Definition at line 14726 of file indijson.hpp.
|
inline |
| [in] | j | JSON value to serialize |
| [in] | use_count | whether to use '#' prefixes (optimized format) |
| [in] | use_type | whether to use '$' prefixes (optimized format) |
| [in] | add_prefix | whether prefixes need to be used for this value |
| [in] | use_bjdata | whether write in BJData format, default is false |
Definition at line 15052 of file indijson.hpp.