Used in the implementation of functions that convert between different formats, e.g. formats::yaml::Value to formats::json::Value, etc.
Definition in file conversion_stack.hpp.
Go to the source code of this file.
#include <cstdint>#include <optional>#include <string>#include <type_traits>#include <utility>#include <fmt/format.h>#include <boost/container/small_vector.hpp>#include <userver/compiler/demangle.hpp>#include <userver/formats/common/type.hpp>#include <userver/utils/assert.hpp>Classes | |
| class | formats::common::ConversionStack< ValueFrom, ValueToBuilder > |
| Used in the implementation of functions that convert between different formats, e.g. formats::yaml::Value to formats::json::Value, etc. More... | |
Namespaces | |
| namespace | formats |
| Value formats representation, parsing and serialization. | |
| namespace | formats::common |
| Common utilities for all the formats. | |
Functions | |
| template<typename ValueTo, typename ValueFrom> | |
| ValueTo | formats::common::PerformMinimalFormatConversion (ValueFrom &&value) |
| Performs the conversion between different formats. Only supports basic formats node types, throws on any non-standard ones. | |