mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-23 22:56:25 +00:00
PlayableItemConverter CanWrite is now false, should allow serialization
This commit is contained in:
parent
76f1a4746e
commit
8485e23943
@ -6,6 +6,8 @@ namespace SpotifyAPI.Web
|
|||||||
{
|
{
|
||||||
public class PlayableItemConverter : JsonConverter
|
public class PlayableItemConverter : JsonConverter
|
||||||
{
|
{
|
||||||
|
public override bool CanWrite { get => false; }
|
||||||
|
|
||||||
public override bool CanConvert(Type objectType) => true;
|
public override bool CanConvert(Type objectType) => true;
|
||||||
|
|
||||||
public override object? ReadJson(JsonReader reader, Type objectType,
|
public override object? ReadJson(JsonReader reader, Type objectType,
|
||||||
|
Loading…
Reference in New Issue
Block a user