protected override void Run() { var schema = CreateSchema(); var writer = new JsonSchemaWriter(); Console.WriteLine(writer.Write(schema)); }
protected override Task Run() { var schema = CreateSchema(); var writer = new JsonSchemaWriter(); Console.WriteLine(writer.Write(schema)); return(Task.CompletedTask); }
public void AsymmetricRepresentations(string @out, string @in) { Assert.Equal(@out, writer.Write(reader.Read(@out))); Assert.Equal(@out, writer.Write(reader.Read(@in))); }