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

Namespace: Newtonsoft.Json
Assembly: Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 6.0.0.0 (6.0.1.17001)

Syntax

C#
public sealed class JsonPropertyAttribute : Attribute

Inheritance Hierarchy

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

See Also