<PackageReference Include="newtonsoft.json" Version="3.5.8" />

JsonContainerAttribute

public abstract class JsonContainerAttribute : Attribute
Instructs the JsonSerializer how to serialize the object.
public string Description { get; set; }

Gets or sets the description.

public string Id { get; set; }

Gets or sets the id.

public bool IsReference { get; set; }

Gets or sets a value that indicates whether to preserve object reference data.

public string Title { get; set; }

Gets or sets the title.

Initializes a new instance of the JsonContainerAttribute class.

protected JsonContainerAttribute(string id)

Initializes a new instance of the JsonContainerAttribute class with the specified container Id.