Powershell wrapper for Yaml.Net
PowerShell
Permalink
Failed to load latest commit information.
Functions ignoring casting functionality in posh 3.0. due to issue #7 May 18, 2013
Libs
vendor/tools Adding nuget nuspec and packaging script May 14, 2012
.gitattributes normalizing line endings Jun 12, 2012
.gitignore normalizing line endings Jun 12, 2012
.gitmodules Added testing Jan 2, 2011
LICENSE adding Apache 2.0 license description May 14, 2012
PowerYaml.Tests.ps1 ignoring casting functionality in posh 3.0. due to issue #7 May 18, 2013
PowerYaml.nuspec made the shadow copy functionality silently ignore locked files Jun 2, 2012
PowerYaml.psm1
README.md
package.ps1 Adding nuget nuspec and packaging script May 14, 2012

README.md

PowerYaml

PowerYaml is a wrapper around Yaml.Net library which is the best .Net Yaml parser I've found so far.

Sample

Paste the following into a sample.yml file

parent: 
  child:
    a: a value
    b: b value
    c: c value
  child2: 
    key4: value 4
    key5: value 5

And here's the parsing of the above yaml

PS C:\dev\PowerYaml> Import-Module .\PowerYaml.psm1
PS C:\dev\PowerYaml> $yaml = Get-Yaml -FromFile (Resolve-Path .\sample.yml)
PS C:\dev\PowerYaml> $yaml.parent.child

Name                           Value
----                           -----
a                              a value
b                              b value
c                              c value