HomeDev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityDoc feedbackLog In


By default, all public properties on an object are included when indexing it. The simplest way to _exclude_ a property is to annotate it with the `JsonIgnore` attribute in the `Newtonsoft.Json` namespace.

**Example**



You also can exclude properties, or other previously included fields, by customizing the Client conventions.



The above code excludes the `Password` property from instances of the `User` class as well as instances of classes that inherit the `User` class.