Cbeam
Loading...
Searching...
No Matches
cbeam::json::traits< const cbeam::container::nested_map< Key, Value > > Struct Template Reference

#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 const cbeam::container::nested_map< Key, Value > &val, container::buffer &stream)
 Required to serialize an object of type T into a shared_buffer stream.
 

Member Function Documentation

◆ serialize() [1/2]

template<typename Key, typename Value>
static void cbeam::json::traits< const cbeam::container::nested_map< Key, Value > >::serialize ( const cbeam::container::nested_map< Key, Value > & map,
container::buffer & stream )
inlinestatic

◆ serialize() [2/2]

static void cbeam::json::traits< const cbeam::container::nested_map< Key, Value > >::serialize ( const const cbeam::container::nested_map< Key, Value > & val,
container::buffer & stream )
inlinestatic

Required to serialize an object of type T into a shared_buffer stream.

Parameters
valueThe object to serialize.
streamThe 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.


The documentation for this struct was generated from the following file: