YamlHelper.ToPSCustomObject method

Deserializes a YAML string into a PowerShell PSObject (PSCustomObject).

public static PSObject ToPSCustomObject(string yaml)
parameter description
yaml The YAML string to deserialize.

Return Value

A PSObject containing the deserialized YAML content.

See Also