ROSE 0.11.145.147
Rose/Yaml.h
1#ifndef ROSE_Yaml_H
2#define ROSE_Yaml_H
3#include <RoseFirst.h>
4#include <Sawyer/Yaml.h>
5
6namespace Rose {
7
9namespace Yaml {
10
21
32Node parseJson(const boost::filesystem::path &fileName);
33
37Node parseJson(const std::string &content);
38
54Node parseYaml(const boost::filesystem::path &fileName);
55
59Node parseYaml(std::istream &inputStream);
60
64Node parseYaml(const std::string &content);
65
69Node parseYaml(const char *content);
72} // namespace Yaml
73} // namespace Rose
74
75#endif
Iterator over constant YAML nodes.
Base class for YAML exceptions.
Iterator over YAML nodes.
Node parseYaml(const boost::filesystem::path &fileName)
Node parseJson(const boost::filesystem::path &fileName)
The ROSE library.
Yaml::Node parse(const boost::filesystem::path &)
Parse YAML from file.
void serialize(const Node &root, const char *filename, const SerializeConfig &config=SerializeConfig())
Serialize YAML.
Serialization configuration structure, describing output behavior.