12 #ifndef DOCWIRE_SERIALIZATION_MAIL_ELEMENTS_H
13 #define DOCWIRE_SERIALIZATION_MAIL_ELEMENTS_H
15 #include "mail_elements.h"
16 #include "serialization_base.h"
17 #include "serialization_file_extension.h"
29 {
"size",
static_cast<int64_t
>(attachment.size)},
Provides a generic, concept-based serialization framework.
value decorate_with_typeid(const value &base_val, const std::string &typeid_str)
Helper to decorate a serialized value with a typeid string.
std::variant< std::nullptr_t, bool, std::int64_t, std::uint64_t, double, std::string, array, object > value
A variant type representing any serialized value.
value full(const T &value)
Serializes a value of type T into a docwire::serialization::value.
Primary template for the serializer.