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

Detailed Description

Parsers and serializers to/from string and stream.

Definition in file serialize.hpp.

Go to the source code of this file.

#include <iosfwd>
#include <userver/formats/yaml/value.hpp>
+ This graph shows which files directly or indirectly include 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.