Common WriteToStream functions for SAX serializers. More...
#include <map>#include <optional>#include <type_traits>#include <unordered_map>#include <variant>#include <userver/utils/meta.hpp>#include <userver/formats/common/meta.hpp>
Include dependency graph for write_to_stream.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | formats::serialize::SaxStream |
Namespaces | |
| namespace | formats |
| Value formats representation, parsing and serialization. | |
| namespace | formats::serialize |
| Common serializers. | |
Functions | |
| template<typename... Types, typename StringBuilder > | |
| void | formats::serialize::WriteToStream (const std::variant< Types... > &value, StringBuilder &sw) |
| Variant serialization. | |
| template<typename T , typename StringBuilder > | |
| void | formats::serialize::WriteToStream (const std::optional< T > &value, StringBuilder &sw) |
| std::optional serialization | |
| template<typename T , typename StringBuilder > | |
| std::enable_if_t<!std::is_arithmetic_v< T > > | formats::serialize::WriteToStream (const T &value, StringBuilder &sw) |
Common WriteToStream functions for SAX serializers.
Definition in file write_to_stream.hpp.