using System.Collections.Generic;
using Newtonsoft.Json.Linq;
public static void Main()
string yaml = @"{apiVersion: v1, kind: Pod, metadata:{ name: foo}} --- {apiVersion: v1, kind: Namespace, metadata:{name: ns}}";
List<Object> objects = KubernetesYaml.LoadAllFromString(yaml);
foreach(Object ob in objects)
Console.WriteLine(ob.ToString());