|
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 |
|
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 |
|
|
CharType | ubjson_prefix (const BasicJsonType &j, const bool use_bjdata) const noexcept |
| determine the type prefix of container values More...
|
|
bool | write_bjdata_ndarray (const typename BasicJsonType::object_t &value, const bool use_count, const bool use_type) |
|
void | write_bson_array (const string_t &name, const typename BasicJsonType::array_t &value) |
| Writes a BSON element with key name and array value. More...
|
|
void | write_bson_binary (const string_t &name, const binary_t &value) |
| Writes a BSON element with key name and binary value value. More...
|
|
void | write_bson_boolean (const string_t &name, const bool value) |
| Writes a BSON element with key name and boolean value value. More...
|
|
void | write_bson_double (const string_t &name, const double value) |
| Writes a BSON element with key name and double value value. More...
|
|
void | write_bson_element (const string_t &name, const BasicJsonType &j) |
| Serializes the JSON value j to BSON and associates it with the key name. More...
|
|
void | write_bson_entry_header (const string_t &name, const std::uint8_t element_type) |
| Writes the given element_type and name to the output adapter. More...
|
|
void | write_bson_integer (const string_t &name, const std::int64_t value) |
| Writes a BSON element with key name and integer value. More...
|
|
void | write_bson_null (const string_t &name) |
| Writes a BSON element with key name and null value. More...
|
|
void | write_bson_object (const typename BasicJsonType::object_t &value) |
|
void | write_bson_object_entry (const string_t &name, const typename BasicJsonType::object_t &value) |
| Writes a BSON element with key name and object value. More...
|
|
void | write_bson_string (const string_t &name, const string_t &value) |
| Writes a BSON element with key name and string value value. More...
|
|
void | write_bson_unsigned (const string_t &name, const BasicJsonType &j) |
| Writes a BSON element with key name and unsigned value. More...
|
|
void | write_compact_float (const number_float_t n, detail::input_format_t format) |
|
template<typename NumberType > |
void | write_number (const NumberType n, const bool OutputIsLittleEndian=false) |
|
template<typename NumberType , typename std::enable_if< std::is_floating_point< NumberType >::value, int >::type = 0> |
void | write_number_with_ubjson_prefix (const NumberType n, const bool add_prefix, const bool use_bjdata) |
|
template<typename NumberType , typename std::enable_if< std::is_unsigned< NumberType >::value, int >::type = 0> |
void | write_number_with_ubjson_prefix (const NumberType n, const bool add_prefix, const bool use_bjdata) |
|
template<typename NumberType , typename std::enable_if< std::is_signed< NumberType >::value &&!std::is_floating_point< NumberType >::value, int >::type = 0> |
void | write_number_with_ubjson_prefix (const NumberType n, const bool add_prefix, const bool use_bjdata) |
|
template<typename BasicJsonType, typename CharType>
class detail::binary_writer< BasicJsonType, CharType >
serialization to CBOR and MessagePack values
Definition at line 15078 of file json.hpp.
template<typename BasicJsonType , typename CharType >
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 detail::binary_writer< BasicJsonType, CharType >::to_char_type |
( |
InputCharType |
x | ) |
|
|
inlinestaticconstexprnoexcept |