using System;
using System.Text.Json;
public class Test
{
public ulong Key { get; set; }
}
public class Program
public static void Main()
var json = JsonSerializer.Serialize(
new Test() { Key = 2121241830635120343 }
);
Console.WriteLine(json);