We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d0d8f48 + 1321083 commit 0b8d4bbCopy full SHA for 0b8d4bb
1 file changed
src/GeoJSON.Net/Converters/PositionConverter.cs
@@ -57,7 +57,7 @@ public override object ReadJson(JsonReader reader, Type objectType, object exist
57
/// <param name="serializer">The calling serializer.</param>
58
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
59
{
60
- if (value is Position coordinates)
+ if (value is IPosition coordinates)
61
62
writer.WriteStartArray();
63
0 commit comments