Serializers for standard containers and optional. More...
#include <optional>#include <type_traits>#include <userver/formats/common/type.hpp>#include <userver/formats/serialize/to.hpp>#include <userver/utils/meta.hpp>
 Include dependency graph for common_containers.hpp:
 This graph shows which files directly or indirectly include this file: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 T , typename Value > | |
| std::enable_if_t< meta::kIsRange< T > &&!meta::kIsMap< T > &&!std::is_same_v< T, boost::uuids::uuid >, Value > | formats::serialize::Serialize (const T &value, To< Value >) | 
| Common containers serialization (vector/set)   | |
| template<typename T , typename Value > | |
| std::enable_if_t< meta::kIsUniqueMap< T >, Value > | formats::serialize::Serialize (const T &value, To< Value >) | 
| Mappings serialization.   | |
| template<typename T , typename Value > | |
| Value | formats::serialize::Serialize (const std::optional< T > &value, To< Value >) | 
| std::optional serialization   | |
Serializers for standard containers and optional.
Definition in file common_containers.hpp.