userver: userver/formats/yaml/serialize.hpp File Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
serialize.hpp File Reference

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

#include <iosfwd>
#include <userver/formats/yaml/value.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.

Namespaces

namespace  formats
 Value formats representation, parsing and serialization.
 
namespace  formats::yaml
 YAML support.
 
namespace  formats::yaml::blocking
 

Functions

formats::yaml::Value formats::yaml::FromString (const std::string &doc)
 Parse YAML from string.
 
formats::yaml::Value formats::yaml::FromStream (std::istream &is)
 Parse YAML from stream.
 
void formats::yaml::Serialize (const formats::yaml::Value &doc, std::ostream &os)
 Serialize YAML to stream.
 
std::string formats::yaml::ToString (const formats::yaml::Value &doc)
 Serialize YAML to string.
 
formats::yaml::Value formats::yaml::blocking::FromFile (const std::string &path)
 Read YAML from file.
 

Detailed Description

Parsers and serializers to/from string and stream.

Definition in file serialize.hpp.