Einhugur YAML Plugin for Xojo

Document.Constructor Constructor

Constructor which takes compatibility version for the YAML document and array of tags.

Constructor(
   compatibilityVersionMajor as Integer,
   compatibilityVersionMinor as Integer,
   tags() as EinhugurYAML.Tag)

Parameters

compatibilityVersionMajor
Major compatibility version tag. The library we have under the hood supports YAML 1.1 at most currentlly.
compatibilityVersionMinor
Minor compatibility version tag. The library we have under the hood supports YAML 1.1 at most currentlly.
tags()
Global tags to set for the YAML document.

Remarks

This constructor can throw YAMLException.

See Also

Document Class