Share via


JsonIgnore class

An attribute to be applied to a data that is not intended to be encoded in JavaScript Object Notation (JSON).

Inheritance hierarchy

System.Object
  System.Attribute
    Microsoft.SharePoint.JsonUtilities.JsonIgnore

Namespace:  Microsoft.SharePoint.JsonUtilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Property)> _
Public NotInheritable Class JsonIgnore _
    Inherits Attribute
'Usage
Dim instance As JsonIgnore
[AttributeUsageAttribute(AttributeTargets.Property)]
public sealed class JsonIgnore : Attribute

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

JsonIgnore members

Microsoft.SharePoint.JsonUtilities namespace