Int64Converter sealed class Int64Converter : JsonConverter<long> Documentation Code namespace System.Text.Json.Serialization.Converters { internal sealed class Int64Converter : JsonConverter<long> { public override long Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) { return reader.GetInt64(); } public override void Write(Utf8JsonWriter writer, long value, JsonSerializerOptions options) { writer.WriteNumberValue(value); } } }