public override void Write(Utf8JsonWriter writer, FSharpOption <T> value, JsonSerializerOptions options) { if (OptionModule.IsNone(value)) { writer.WriteNullValue(); } else { JsonSerializer.Serialize(writer, value.Value, options); } }