PlayableItemConverter CanWrite is now false, should allow serialization

This commit is contained in:
Jonas Dellinger 2020-06-16 20:02:58 +02:00
parent 76f1a4746e
commit 8485e23943

View File

@ -6,6 +6,8 @@ namespace SpotifyAPI.Web
{
public class PlayableItemConverter : JsonConverter
{
public override bool CanWrite { get => false; }
public override bool CanConvert(Type objectType) => true;
public override object? ReadJson(JsonReader reader, Type objectType,