Click or drag to resize
Json.NET

JsonPropertyShouldSerialize Property

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

Namespace:  Newtonsoft.Json.Serialization
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
public Predicate<Object> ShouldSerialize { get; set; }

Property Value

Type: PredicateObject
A predicate used to determine whether the property should be serialized.
See Also