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

Newtonsoft.Json.Serialization.IAttributeProvider

public interface IAttributeProvider
Provides methods to get attributes.
namespace Newtonsoft.Json.Serialization { public interface IAttributeProvider { IList<Attribute> GetAttributes(bool inherit); IList<Attribute> GetAttributes(Type attributeType, bool inherit); } }