userver: formats::yaml Namespace Reference
Loading...
Searching...
No Matches
formats::yaml Namespace Reference

YAML support. More...

Namespaces

namespace  blocking
 

Classes

class  BadStreamException
 
class  Exception
 
class  Iterator
 Iterator for formats::yaml::Value More...
 
class  MemberMissingException
 
class  OutOfBoundsException
 
class  ParseException
 
class  PathPrefixException
 
class  TypeMismatchException
 
class  Value
 Non-mutable YAML value representation. More...
 
class  ValueBuilder
 Builder for YAML. More...
 

Functions

formats::yaml::Value FromString (const std::string &doc)
 Parse YAML from string.
 
formats::yaml::Value FromStream (std::istream &is)
 Parse YAML from stream.
 
void Serialize (const formats::yaml::Value &doc, std::ostream &os)
 Serialize YAML to stream.
 
std::string ToString (const formats::yaml::Value &doc)
 Serialize YAML to string.
 
template<>
std::string Value::As< std::string > () const
 

Detailed Description

YAML support.

Function Documentation

◆ FromStream()

formats::yaml::Value formats::yaml::FromStream ( std::istream &  is)

Parse YAML from stream.

Parse JSON from stream.