Qore yaml Module 1.0.0
Loading...
Searching...
No Matches
Qore::YAML Namespace Reference

YAML namespace. More...

Functions

hash getYAMLInfo ()
 Returns version information about libyaml being used by the yaml module.
hash< auto > 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.
string make_yaml (auto data, int flags=Qore::YAML::None, softint width=-1, softint indent=2)
 Creates a YAML string from Qore data.
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.

Variables

const BlockStyle = QYE_BLOCK_STYLE
 emitter constant: emit seq and map with block style
const Canonical = QYE_CANONICAL
 emitter constant: Emit canonical YAML
const EmitSqlNull = QYE_EMIT_SQLNULL
 emitter constant: emit SQL null "!!sqlnull"
const EscapeUnicode = QYE_ESCAPE_UNICODE
 emitter constant: escape unicode characters
const ExplicitEndDoc = QYE_EXPLICIT_END_DOC
 emitter constant: emit an explicit document end sequence
const ExplicitStartDoc = QYE_EXPLICIT_START_DOC
 emitter constant: emit an explicit document start sequence
const None = QYE_NONE
 emitter constant: No option (= default output)
const Yaml1_1 = QYE_VER_1_1
 emitter constant: emit YAML 1.1 (not necessary to use as this is the default and currently the only YAML version supported by libyaml)

Detailed Description

YAML namespace.