userver: userver/formats/json/serialize_boost_variant.hpp File Reference
Loading...
Searching...
No Matches
serialize_boost_variant.hpp File Reference

Detailed Description

Serializers for boost::variant types.

Definition in file serialize_boost_variant.hpp.

Go to the source code of this file.

#include <boost/variant/apply_visitor.hpp>
#include <boost/variant/variant.hpp>
#include <userver/formats/json/value_builder.hpp>
#include <userver/formats/serialize/to.hpp>
+ Include dependency graph for serialize_boost_variant.hpp:

Namespaces

namespace  formats
 Value formats representation, parsing and serialization.
 
namespace  formats::serialize
 Common serializers.
 

Functions

template<typename... Types>
formats::json::Value formats::serialize::Serialize (const boost::variant< Types... > &value, To< formats::json::Value >)