|
Cbeam
|
Specialization of traits for nested_map<Key, Value>, enabling JSON-like serialization.
More...
#include <nested_map.hpp>
Static Public Member Functions | |
| static void | serialize (const cbeam::container::nested_map< Key, Value > &map, container::buffer &stream) |
| static void | serialize (const cbeam::container::nested_map< Key, Value > &val, container::buffer &stream) |
| Required to serialize an object of type T into a shared_buffer stream. | |
Specialization of traits for nested_map<Key, Value>, enabling JSON-like serialization.
| Key | The key type of the nested map. |
| Value | The value type of the nested map. |
|
inlinestatic |
|
inlinestatic |
Required to serialize an object of type T into a shared_buffer stream.
| value | The object to serialize. |
| stream | The shared_buffer stream into which the object is serialized. |
This method should take an object of type T and serialize it into a container::buffer stream. by using its append method.