Instructs the JsonSerializer how to serialize the object.

Namespace: Newtonsoft.Json
Assembly: Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 4.5.0.0 (4.5.11.15729)

Syntax

C#
public sealed class JsonObjectAttribute : JsonContainerAttribute
Visual Basic
Public NotInheritable Class JsonObjectAttribute _
	Inherits JsonContainerAttribute
Visual C++
public ref class JsonObjectAttribute sealed : public JsonContainerAttribute

Inheritance Hierarchy

System..::..Object
  System..::..Attribute
    Newtonsoft.Json..::..JsonContainerAttribute
      Newtonsoft.Json..::..JsonObjectAttribute

See Also