using System;
using System.Text.Json;
using System.Text.RegularExpressions;
public class Program
{
public static void Main()
var pepf = new
text = "This is a json",
number = 15,
number2 = 100,
text2 = "Pepf",
stringabc = "String ABC",
abcxyz = "ABC XYZ",
last = "Philipp Hochsteger"
};
string json = JsonSerializer.Serialize(pepf);
Console.WriteLine(json);
}