userver: userver/formats/bson/serialize.hpp File Reference
Loading...
Searching...
No Matches
serialize.hpp File Reference

Detailed Description

Textual serialization helpers.

Definition in file serialize.hpp.

Go to the source code of this file.

#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/formats/json_fwd.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:

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::parse
 Generic parsers and converters.
 
namespace  formats::bson
 BSON support.
 

Functions

formats::json::Value formats::parse::Convert (const formats::bson::Value &bson, formats::parse::To< formats::json::Value >)
 
formats::bson::Value formats::parse::Convert (const formats::json::Value &json, formats::parse::To< formats::bson::Value >)
 
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.