/// <inheritdoc/> public override void Write(Utf8JsonWriter writer, object value, JsonSerializerOptions options) { if (value is Geography geography) { writer.WriteGeography(geography); } }