Public properties on an object are included when indexing it by default. The simplest way to _exclude_ a property is to annotate it with the `JsonIgnore
` attribute in the `Newtonsoft.Json
` namespace.
**Example**

You can also 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 and instances of classes that inherit the `User
` class.