Gets or sets a predicate used to determine whether the property should be serialize.
Namespace: Newtonsoft.Json.SerializationAssembly: Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 4.5.0.0 (4.5.11.15729)
Syntax
| C# |
|---|
public Predicate<Object> ShouldSerialize { get; set; } |
| Visual Basic |
|---|
Public Property ShouldSerialize As Predicate(Of Object) Get Set |
| Visual C++ |
|---|
public: property Predicate<Object^>^ ShouldSerialize { Predicate<Object^>^ get (); void set (Predicate<Object^>^ value); } |