Builder for JSON.
Definition in file value_builder.hpp.
Go to the source code of this file.
#include <chrono>#include <string_view>#include <type_traits>#include <userver/formats/common/meta.hpp>#include <userver/formats/common/transfer_tag.hpp>#include <userver/formats/json/impl/mutable_value_wrapper.hpp>#include <userver/formats/json/value.hpp>#include <userver/utils/strong_typedef.hpp>
This graph shows which files directly or indirectly include this file:Classes | |
| class | formats::json::ValueBuilder |
| Builder for JSON. More... | |
| struct | formats::json::ValueBuilder::IterTraits |
Namespaces | |
| namespace | formats |
| Value formats representation, parsing and serialization. | |
| namespace | formats::json |
| JSON support. | |
Functions | |
| template<typename T> requires (std::is_integral<T>::value && sizeof(T) <= sizeof(int64_t)) | |
| Value | formats::json::Serialize (T value, formats::serialize::To< Value >) |
| json::Value | formats::json::Serialize (std::chrono::system_clock::time_point tp, formats::serialize::To< Value >) |
| template<typename T> requires (meta::kIsUniqueMap<T> && utils::IsStrongTypedefLoggable(T::key_type::kOps)) | |
| Value | formats::json::Serialize (const T &value, formats::serialize::To< Value >) |
| Optimized maps of StrongTypedefs serialization for JSON. | |
| template<typename T> requires meta::kIsUniqueMap<T> && std::is_convertible_v<typename T::key_type, std::string> | |
| Value | formats::json::Serialize (const T &value, formats::serialize::To< Value >) |
| Optimized maps serialization for JSON. | |