Github   Telegram
Loading...
Searching...
No Matches
Namespaces | Functions
common_containers.hpp File Reference

Parsers and converters for Standard Library containers and std::optional. More...

#include <userver/formats/parse/to.hpp>
#include <map>
#include <optional>
#include <set>
#include <unordered_map>
#include <unordered_set>
#include <vector>
+ 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::parse
 Generic parsers and converters.
 

Functions

template<class Value , typename T >
std::unordered_set< T > formats::parse::Parse (const Value &value, To< std::unordered_set< T > >)
 
template<class Value , typename T >
std::set< T > formats::parse::Parse (const Value &value, To< std::set< T > >)
 
template<class Value , typename T >
std::vector< T > formats::parse::Parse (const Value &value, To< std::vector< T > >)
 
template<class Value , typename T >
std::unordered_map< std::string, T > formats::parse::Parse (const Value &value, To< std::unordered_map< std::string, T > >)
 
template<class Value , typename T >
std::map< std::string, T > formats::parse::Parse (const Value &value, To< std::map< std::string, T > >)
 
template<class Value , typename T >
std::optional< T > formats::parse::Parse (const Value &value, To< std::optional< T > >)
 
template<class Value >
std::optional< std::nullptr_t > formats::parse::Parse (const Value &, To< std::optional< std::nullptr_t > >)
 
template<class Value , typename T >
std::unordered_set< T > formats::parse::Convert (const Value &value, To< std::unordered_set< T > >)
 
template<class Value , typename T >
std::set< T > formats::parse::Convert (const Value &value, To< std::set< T > >)
 
template<class Value , typename T >
std::vector< T > formats::parse::Convert (const Value &value, To< std::vector< T > >)
 
template<class Value , typename T >
std::unordered_map< std::string, T > formats::parse::Convert (const Value &value, To< std::unordered_map< std::string, T > >)
 
template<class Value , typename T >
std::map< std::string, T > formats::parse::Convert (const Value &value, To< std::map< std::string, T > >)
 
template<class Value , typename T >
std::optional< T > formats::parse::Convert (const Value &value, To< std::optional< T > >)
 
template<class Value >
std::optional< std::nullptr_t > formats::parse::Convert (const Value &, To< std::optional< std::nullptr_t > >)
 

Detailed Description

Parsers and converters for Standard Library containers and std::optional.

Definition in file common_containers.hpp.