<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />

JsonConverter

public abstract class JsonConverter
Converts an object to and from JSON.
using System; using System.Runtime.CompilerServices; namespace Newtonsoft.Json { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] public abstract class JsonConverter { public virtual bool CanRead => true; public virtual bool CanWrite => true; public abstract void WriteJson(JsonWriter writer, [System.Runtime.CompilerServices.Nullable(2)] object value, JsonSerializer serializer); [return: System.Runtime.CompilerServices.Nullable(2)] public abstract object ReadJson(JsonReader reader, Type objectType, [System.Runtime.CompilerServices.Nullable(2)] object existingValue, JsonSerializer serializer); public abstract bool CanConvert(Type objectType); } }