[This is preliminary documentation and is subject to change.]

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

Namespace:  Facebook.Json
Assembly:  Facebook (in Facebook.dll) Version: 0.2009.3.23 (0.2009.3.23)

Syntax

C#
[AttributeUsageAttribute(AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = false)]
public sealed class JsonPropertyAttribute : Attribute
Visual Basic (Declaration)
<AttributeUsageAttribute(AttributeTargets.Property Or AttributeTargets.Field, AllowMultiple := False)> _
Public NotInheritable Class JsonPropertyAttribute _
	Inherits Attribute
Visual C++
[AttributeUsageAttribute(AttributeTargets::Property|AttributeTargets::Field, AllowMultiple = false)]
public ref class JsonPropertyAttribute sealed : public Attribute

Inheritance Hierarchy

System..::.Object
  System..::.Attribute
    Facebook.Json..::.JsonPropertyAttribute

See Also

JsonPropertyAttribute Members
Facebook.Json Namespace