using YamlDotNet.Serialization;
public static void Main()
name: 'ptms.$VERSION$.msi'
name: 'PtmsSetup.$VERSION$.exe'
- file: 'out/ptms.$VERSION$.msi'
repo: ptms.snapshot/msi/$BRAND_NAME$/
- file: 'out/PtmsSetup.$VERSION$.exe'
repo: ptms.snapshot/setup/$BRAND_NAME$/
var deserializer = new Deserializer();
var yamlObject = deserializer.Deserialize<dynamic>(new StringReader(r));
var yo = deserializer.Deserialize<dynamic>(new StringReader(r));
var a = yo["projects"][0]["name"];
var serializer = new JsonSerializer();
serializer.Serialize(Console.Out, yamlObject);