rapidyaml 0.15.2
parse and emit YAML, and do it fast
Loading...
Searching...
No Matches
Emit utilities

Utilities to emit YAML and JSON, either to a memory buffer or to a file or ostream-like class. More...

Topics

 Emit to a memory buffer
 Emit to a container
 Overloads to emit to contiguous memory container of char like std::string or std::vector<char>.
 Emit to file
 Emit to an STL-like ostream
 
 Writer objects to use with an Emitter
 Scalar style helpers
 These functions are used by the emitter to choose a scalar style when a scalar does not have it set.
 Scalar charconv helpers
 These functions are used by the parser and emitter to convert scalars to and from chars.

Classes

struct  c4::yml::EmitOptions
 A lightweight object containing options to be used when emitting. More...
class  c4::yml::Emitter< Writer >
 A YAML/JSON emitter, templated on a writer class such as WriterBuf, WriterFile, or WriterOStream. More...

Detailed Description

Utilities to emit YAML and JSON, either to a memory buffer or to a file or ostream-like class.

See also
sample_emit_to_container()
sample_emit_to_stream()
sample_emit_to_file()
sample_emit_nested_node()
sample_style()