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

Newtonsoft.Json.JsonContainerAttribute

public abstract class JsonContainerAttribute : Attribute
Instructs the JsonSerializer how to serialize the object.
namespace Newtonsoft.Json { public abstract class JsonContainerAttribute : Attribute { public string Id { get; set; } public string Title { get; set; } public string Description { get; set; } public Type ItemConverterType { get; set; } public object[] ItemConverterParameters { get; set; } public Type NamingStrategyType { get; set; } public object[] NamingStrategyParameters { get; set; } public bool IsReference { get; set; } public bool ItemIsReference { get; set; } public ReferenceLoopHandling ItemReferenceLoopHandling { get; set; } public TypeNameHandling ItemTypeNameHandling { get; set; } protected JsonContainerAttribute(); protected JsonContainerAttribute(string id); } }