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>
Go to the source code of this file.
Classes | |
struct | fmt::formatter<::formats::json::Value > |
Namespaces | |
namespace | logging |
Logging macro and utilities. | |
namespace | formats |
Value formats representation, parsing and serialization. | |
namespace | formats::json |
JSON support. | |
namespace | formats::json::blocking |
Functions | |
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::LogHelper & | formats::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. | |
Parsers and serializers to/from string and stream.
Definition in file serialize.hpp.