Qore YAML Module 0.7
ql_yaml.dox.h
1
2namespace Qore {
4namespace YAML {
7
10
22
24
41
43
59string makeYAML(auto data, int flags = Qore::YAML::None, softint width = -1, softint indent = 2);
60
62
85string make_yaml(auto data, int flags = Qore::YAML::None, softint width = -1, softint indent = 2);
86
88
101auto parseYAML(string yaml);
102
104
124auto parse_yaml(string yaml);
125
127}
128}
130namespace Qore {
132namespace YAML {
135
138 const BlockStyle = QYE_BLOCK_STYLE;
140 const Canonical = QYE_CANONICAL;
142 const EmitSqlNull = QYE_EMIT_SQLNULL;
144 const EscapeUnicode = QYE_ESCAPE_UNICODE;
146 const ExplicitEndDoc = QYE_EXPLICIT_END_DOC;
148 const ExplicitStartDoc = QYE_EXPLICIT_START_DOC;
150 const None = QYE_NONE;
152 const Yaml1_1 = QYE_VER_1_1;
154}
155}
const ExplicitEndDoc
emitter constant: emit an explicit document end sequence
Definition: ql_yaml.dox.h:146
const EmitSqlNull
emitter constant: emit SQL null "!!sqlnull"
Definition: ql_yaml.dox.h:142
const BlockStyle
emitter constant: emit seq and map with block style
Definition: ql_yaml.dox.h:138
const EscapeUnicode
emitter constant: escape unicode characters
Definition: ql_yaml.dox.h:144
const None
emitter constant: No option (= default output)
Definition: ql_yaml.dox.h:150
const Canonical
emitter constant: Emit canonical YAML
Definition: ql_yaml.dox.h:140
const ExplicitStartDoc
emitter constant: emit an explicit document start sequence
Definition: ql_yaml.dox.h:148
const Yaml1_1
emitter constant: emit YAML 1.1 (not necessary to use as this is the default and currently the only Y...
Definition: ql_yaml.dox.h:152
hash get_yaml_info()
Returns version information about libyaml being used by the yaml module.
string makeYAML(auto data, int flags=Qore::YAML::None, softint width=-1, softint indent=2)
Creates a YAML string from Qore data.
hash getYAMLInfo()
Returns version information about libyaml being used by the yaml module.
auto parseYAML(string yaml)
Parses a YAML string and returns the corresponding Qore value or data structure.
auto parse_yaml(string yaml)
Parses a YAML string and returns the corresponding Qore value or data structure.
string make_yaml(auto data, int flags=Qore::YAML::None, softint width=-1, softint indent=2)
Creates a YAML string from Qore data.
Qore namespace.
Definition: ql_yaml.dox.h:2