WCF-Xtensions Class Reference for .NET
JsonObjectAttribute Class
Members 






Instructs the JsonSerializer how to serialize the object.
Object Model
JsonObjectAttribute Class
Syntax
[System.AttributeUsage(ValidOn=AttributeTargets.Class | 
    AttributeTargets.Struct | 
    AttributeTargets.Interface, 
   AllowMultiple=false, 
   Inherited=true)]
public sealed class JsonObjectAttribute : JsonContainerAttribute 
public class JsonObjectAttribute = class(JsonContainerAttribute)sealed; 
System.AttributeUsageAttribute(ValidOn=AttributeTargets.Class | 
    AttributeTargets.Struct | 
    AttributeTargets.Interface, 
   AllowMultiple=, 
   Inherited=)
public sealed class JsonObjectAttribute extends JsonContainerAttribute
[System.AttributeUsage(ValidOn=AttributeTargets.Class | 
    AttributeTargets.Struct | 
    AttributeTargets.Interface, 
   AllowMultiple=false, 
   Inherited=true)]
public __gc __sealed class JsonObjectAttribute : public JsonContainerAttribute 
[System.AttributeUsage(ValidOn=AttributeTargets.Class | 
    AttributeTargets.Struct | 
    AttributeTargets.Interface, 
   AllowMultiple=false, 
   Inherited=true)]
public ref class JsonObjectAttribute sealed : public JsonContainerAttribute 
'Declaration
 
<System.AttributeUsageAttribute(ValidOn=AttributeTargets.Class Or  _
    AttributeTargets.Struct Or  _
    AttributeTargets.Interface, 
   AllowMultiple=False, 
   Inherited=True)>
Public NotInheritable Class JsonObjectAttribute 
   Inherits JsonContainerAttribute
 
'Usage
 
Dim instance As JsonObjectAttribute
Inheritance Hierarchy

System.Object
   System.Attribute
      Noemax.Newtonsoft.Json.JsonContainerAttribute
         Noemax.Newtonsoft.Json.JsonObjectAttribute

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

JsonObjectAttribute Members
Noemax.Newtonsoft.Json Namespace

Send Feedback