Controls whether to add YAML document header
Source position: json2yaml.pp line 55
public property TJSONToYaml.AddHeader : Boolean |
The AddHeader property determines whether a YAML document separator (---) is written at the beginning of the converted output. When set to True, the YAML document header is added before the actual content. When False, only the converted JSON content is written to the output stream.
The YAML document separator is part of the YAML specification and indicates the start of a YAML document, which can be useful when multiple YAML documents are concatenated or when strict YAML compliance is required.
|
Convert JSON data to YAML format |