46 template <
typename Map>
61 for (
const auto& pair : map)
85 template <
typename Key,
typename Value>
96 template <
typename Key,
typename Value>
97 struct traits<const std::map<Key, Value>>
Manages memory a byte buffer, offering dynamic appending. This class is designed for scenarios where ...
Definition buffer.hpp:50
virtual void append(const void *buffer_to_append, const std::size_t length_of_buffer)
append the given buffer to the end of the current buffer. If there is no current buffer yet,...
Definition buffer.hpp:96
Provides JSON-style and nested-map serialization features. It offers methods to convert a wide range ...
Definition map.hpp:37
Provides JSON-style serialization logic for any map type Map.
Definition map.hpp:48
static void serialize(const Map &map, container::buffer &stream)
Serializes a map to a JSON-like representation, appending the result to a buffer.
Definition map.hpp:57
static void serialize(const std::map< Key, Value > &map, container::buffer &stream)
Definition map.hpp:99
static void serialize(const std::map< Key, Value > &map, container::buffer &stream)
Definition map.hpp:88
Defines the traits required for serializing and deserializing objects of type T.
Definition traits.hpp:56
static void serialize(const T &val, container::buffer &stream)
Required to serialize an object of type T into a shared_buffer stream.
Definition traits.hpp:67