YamlHelper class

Provides helper methods for serializing and deserializing YAML content, with special handling for PowerShell objects.

public static class YamlHelper

Public Members

name description
static ToHashtable(…) Deserializes a YAML string into a PowerShell Hashtable.
static ToPSCustomObject(…) Deserializes a YAML string into a PowerShell PSObject (PSCustomObject).
static ToYaml(…) Serializes any PowerShell object to YAML format.

See Also