WCF-Xtensions Class Reference for .NET
JsonIgnoreAttribute Class
Members 






Instructs the JsonSerializer not to serialize the public field or public read/write property value.
Object Model
JsonIgnoreAttribute Class
Syntax
[System.AttributeUsage(ValidOn=AttributeTargets.Property | 
    AttributeTargets.Field, 
   AllowMultiple=false, 
   Inherited=true)]
public sealed class JsonIgnoreAttribute : System.Attribute 
public class JsonIgnoreAttribute = class(System.Attribute)sealed; 
System.AttributeUsageAttribute(ValidOn=AttributeTargets.Property | 
    AttributeTargets.Field, 
   AllowMultiple=, 
   Inherited=)
public sealed class JsonIgnoreAttribute extends System.Attribute
[System.AttributeUsage(ValidOn=AttributeTargets.Property | 
    AttributeTargets.Field, 
   AllowMultiple=false, 
   Inherited=true)]
public __gc __sealed class JsonIgnoreAttribute : public System.Attribute 
[System.AttributeUsage(ValidOn=AttributeTargets.Property | 
    AttributeTargets.Field, 
   AllowMultiple=false, 
   Inherited=true)]
public ref class JsonIgnoreAttribute sealed : public System.Attribute 
'Declaration
 
<System.AttributeUsageAttribute(ValidOn=AttributeTargets.Property Or  _
    AttributeTargets.Field, 
   AllowMultiple=False, 
   Inherited=True)>
Public NotInheritable Class JsonIgnoreAttribute 
   Inherits System.Attribute
 
'Usage
 
Dim instance As JsonIgnoreAttribute
Inheritance Hierarchy

System.Object
   System.Attribute
      Noemax.Newtonsoft.Json.JsonIgnoreAttribute

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

JsonIgnoreAttribute Members
Noemax.Newtonsoft.Json Namespace

Send Feedback