using System.Text.Json.Nodes;
public static void Main()
Console.WriteLine("Hello, World!");
var json = new JsonObject();
var foo = new Foo("John", 36, true);
json.Add("name", "John");
json.Add("married", true);
json.Add("testOne", new JsonObject
Console.WriteLine("foo: " + foo);
Console.WriteLine(json.ToJsonString());