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

JsonObjectAttribute

Instructs the JsonSerializer how to serialize the object.

Gets or sets the member serialization.

Initializes a new instance of the JsonObjectAttribute class.

public JsonObjectAttribute(MemberSerialization memberSerialization)

Initializes a new instance of the JsonObjectAttribute class with the specified member serialization.

public JsonObjectAttribute(string id)

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