|
Cbeam
|
Generic serializer for nested_map<Key, Value> types.
More...
#include <nested_map.hpp>
Static Public Member Functions | |
| static void | serialize (const Map &map, container::buffer &stream) |
| Serializes a nested map to JSON-like text, appending it to a buffer. | |
Generic serializer for nested_map<Key, Value> types.
The serializer writes each entry from map.data and recursively serializes any map.sub_tables. The result is appended to a buffer in a JSON-like style (braces, commas, etc.).
| Map | The type of the nested map (e.g., cbeam::container::nested_map<Key, Value>). |
|
inlinestatic |
Serializes a nested map to JSON-like text, appending it to a buffer.
| map | The nested map to serialize. |
| stream | The buffer where the serialized output is written. |