<PackageReference Include="System.Text.Json" Version="9.0.0-rc.2.24473.5" />

JsonConverter

public abstract class JsonConverter
Converts an object or value to or from JSON.
public abstract Type Type { get; }

Gets the type being converted by the current converter instance.

public abstract bool CanConvert(Type typeToConvert)

When overridden in a derived class, determines whether the converter instance can convert the specified object type.