Serializers for std::variant. More...
#include <variant>
#include <userver/formats/json/value_builder.hpp>
#include <userver/formats/serialize/to.hpp>
Go to the source code of this file.
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 std::variant< Types... > &value, To< formats::json::Value >) |
Serializers for std::variant.
Definition in file serialize_variant.hpp.