Gets or sets a predicate used to determine whether the property should be serialize.

Namespace: Newtonsoft.Json.Serialization
Assembly: Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 6.0.0.0 (6.0.3.17227)

Syntax

C#
public Predicate<Object> ShouldSerialize { get; set; }

Property Value

Type: Predicate<(Of <(<'Object>)>)>
A predicate used to determine whether the property should be serialize.

See Also