Qore YAML Module  0.5
Qore::YAML Namespace Reference

Qore::YAML namespace. More...

Functions

hash getYAMLInfo ()
 Returns version information about libyaml being used by the yaml module. More...
 
hash get_yaml_info ()
 Returns version information about libyaml being used by the yaml module. More...
 
string makeYAML (any data, int flags=Qore::YAML::None, softint width=-1, softint indent=2)
 Creates a YAML string from Qore data. More...
 
string make_yaml (any data, int flags=Qore::YAML::None, softint width=-1, softint indent=2)
 Creates a YAML string from Qore data. More...
 
any parseYAML (string yaml)
 Parses a YAML string and returns the corresponding Qore value or data structure. More...
 
any parse_yaml (string yaml)
 Parses a YAML string and returns the corresponding Qore value or data structure. More...
 

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 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

Qore::YAML namespace.