WCF-Xtensions Class Reference for Mono
JsonPropertyAttribute Class
Members 






Instructs the JsonSerializer to always serialize the member with the specified name.
Object Model
JsonPropertyAttribute Class
Syntax
'Declaration
 
<System.AttributeUsageAttribute(ValidOn=AttributeTargets.Property Or  _
    AttributeTargets.Field Or  _
    AttributeTargets.Parameter, 
   AllowMultiple=False, 
   Inherited=True)>
Public NotInheritable Class JsonPropertyAttribute 
   Inherits System.Attribute
'Usage
 
Dim instance As JsonPropertyAttribute
[System.AttributeUsage(ValidOn=AttributeTargets.Property | 
    AttributeTargets.Field | 
    AttributeTargets.Parameter, 
   AllowMultiple=false, 
   Inherited=true)]
public sealed class JsonPropertyAttribute : System.Attribute 
public class JsonPropertyAttribute = class(System.Attribute)sealed; 
System.AttributeUsageAttribute(ValidOn=AttributeTargets.Property | 
    AttributeTargets.Field | 
    AttributeTargets.Parameter, 
   AllowMultiple=, 
   Inherited=)
public sealed class JsonPropertyAttribute extends System.Attribute
[System.AttributeUsage(ValidOn=AttributeTargets.Property | 
    AttributeTargets.Field | 
    AttributeTargets.Parameter, 
   AllowMultiple=false, 
   Inherited=true)]
public __gc __sealed class JsonPropertyAttribute : public System.Attribute 
[System.AttributeUsage(ValidOn=AttributeTargets.Property | 
    AttributeTargets.Field | 
    AttributeTargets.Parameter, 
   AllowMultiple=false, 
   Inherited=true)]
public ref class JsonPropertyAttribute sealed : public System.Attribute 
Inheritance Hierarchy

System.Object
   System.Attribute
      Noemax.Newtonsoft.Json.JsonPropertyAttribute

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

JsonPropertyAttribute Members
Noemax.Newtonsoft.Json Namespace

Send Feedback