ShouldSerialize Property

Json.NET

Json.NET - Quick Starts & API Documentation ShouldSerialize Property
NamespacesNewtonsoft.Json.SerializationJsonPropertyShouldSerialize
Gets or sets a predicate used to determine whether the property should be serialize.
Declaration Syntax
C# Visual Basic Visual C++
public Predicate<Object> ShouldSerialize { get; set; }
Public Property ShouldSerialize As Predicate(Of Object)
	Get
	Set
public:
property Predicate<Object^>^ ShouldSerialize {
	Predicate<Object^>^ get ();
	void set (Predicate<Object^>^ value);
}
Value
A predicate used to determine whether the property should be serialize.

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.5.0.0 (4.5.6.14930)