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

Parsers and serializers to/from string and stream. More...

#include <iosfwd>
#include <string_view>
#include <fmt/format.h>
#include <userver/formats/json/value.hpp>
#include <userver/utils/fast_pimpl.hpp>
#include <userver/utils/fmt_compat.hpp>
+ Include dependency graph for serialize.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  fmt::formatter<::formats::json::Value >


namespace  logging
 Logging macro and utilities.
namespace  formats
 Value formats representation, parsing and serialization.
namespace  formats::json
 JSON support.
namespace  formats::json::blocking


formats::json::Value formats::json::FromString (std::string_view doc)
 Parse JSON from string.
formats::json::Value formats::json::FromStream (std::istream &is)
 Parse JSON from stream.
void formats::json::Serialize (const formats::json::Value &doc, std::ostream &os)
 Serialize JSON to stream.
std::string formats::json::ToString (const formats::json::Value &doc)
 Serialize JSON to string.
std::string formats::json::ToStableString (const formats::json::Value &doc)
std::string formats::json::ToStableString (formats::json::Value &&doc)
logging::LogHelperformats::json::operator<< (logging::LogHelper &, const formats::json::Value &)
 Log JSON.
formats::json::Value formats::json::blocking::FromFile (const std::string &path)
 Read JSON from file.

Detailed Description

Parsers and serializers to/from string and stream.

Definition in file serialize.hpp.