Qore YAML Module  0.7
ql_yaml.dox.h
1 namespace Qore {
4 namespace YAML {
7 
9 
21 hash getYAMLInfo();
22 
24 
40 hash get_yaml_info();
41 
43 
59 string makeYAML(auto data, int flags = Qore::YAML::None, softint width = -1, softint indent = 2);
60 
62 
85 string make_yaml(auto data, int flags = Qore::YAML::None, softint width = -1, softint indent = 2);
86 
88 
101 auto parseYAML(string yaml);
102 
104 
124 auto parse_yaml(string yaml);
125 
127 }
128 }
130 namespace Qore {
132 namespace YAML {
135 
137  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 BlockStyle
emitter constant: emit seq and map with block style
Definition: ql_yaml.dox.h:138
const ExplicitEndDoc
emitter constant: emit an explicit document end sequence
Definition: ql_yaml.dox.h:146
hash getYAMLInfo()
Returns version information about libyaml being used by the yaml module.
string make_yaml(auto data, int flags=Qore::YAML::None, softint width=-1, softint indent=2)
Creates a YAML string from Qore data.
string makeYAML(auto data, int flags=Qore::YAML::None, softint width=-1, softint indent=2)
Creates a YAML string from Qore data.
const None
emitter constant: No option (= default output)
Definition: ql_yaml.dox.h:150
hash get_yaml_info()
Returns version information about libyaml being used by the yaml module.
const ExplicitStartDoc
emitter constant: emit an explicit document start sequence
Definition: ql_yaml.dox.h:148
const EscapeUnicode
emitter constant: escape unicode characters
Definition: ql_yaml.dox.h:144
Qore namespace.
Definition: ql_yaml.dox.h:2
auto parseYAML(string yaml)
Parses a YAML string and returns the corresponding Qore value or data structure.
const Canonical
emitter constant: Emit canonical YAML
Definition: ql_yaml.dox.h:140
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
auto parse_yaml(string yaml)
Parses a YAML string and returns the corresponding Qore value or data structure.
const EmitSqlNull
emitter constant: emit SQL null "!!sqlnull"
Definition: ql_yaml.dox.h:142