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

Textual serialization helpers. More...

#include <iosfwd>
#include <string>
#include <string_view>
#include <fmt/core.h>
#include <userver/compiler/select.hpp>
#include <userver/formats/bson/document.hpp>
#include <userver/formats/bson/value.hpp>
#include <userver/logging/log_helper_fwd.hpp>
#include <userver/utils/fast_pimpl.hpp>
#include <userver/utils/fmt_compat.hpp>
+ Include dependency graph for serialize.hpp:

Go to the source code of this file.

Classes

class  formats::bson::JsonString
 
struct  fmt::formatter<::formats::bson::JsonString >
 
struct  fmt::formatter<::formats::bson::Document >
 Uses formats::bson::ToRelaxedJsonString representation by default. More...
 

Namespaces

namespace  formats
 Value formats representation, parsing and serialization.
 
namespace  formats::bson
 BSON support.
 

Functions

Document formats::bson::FromJsonString (std::string_view json)
 
Value formats::bson::ArrayFromJsonString (std::string_view json)
 
JsonString formats::bson::ToCanonicalJsonString (const formats::bson::Document &)
 
JsonString formats::bson::ToRelaxedJsonString (const formats::bson::Document &)
 
JsonString formats::bson::ToLegacyJsonString (const formats::bson::Document &)
 
JsonString formats::bson::ToArrayJsonString (const formats::bson::Value &)
 
std::ostream & formats::bson::operator<< (std::ostream &, const JsonString &)
 
logging::LogHelperformats::bson::operator<< (logging::LogHelper &, const JsonString &)
 
logging::LogHelperformats::bson::operator<< (logging::LogHelper &, const Document &)
 Uses formats::bson::ToRelaxedJsonString representation by default.
 

Detailed Description

Textual serialization helpers.

Definition in file serialize.hpp.