Instructs the JsonSerializer to always serialize the member with the specified name.

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

Syntax

C#
public sealed class JsonPropertyAttribute : Attribute
Visual Basic
Public NotInheritable Class JsonPropertyAttribute _
	Inherits Attribute
Visual C++
public ref class JsonPropertyAttribute sealed : public Attribute

Inheritance Hierarchy

System..::..Object
  System..::..Attribute
    Newtonsoft.Json..::..JsonPropertyAttribute

See Also