Json.NET - Quick Starts & API Documentation
ShouldSerializeValue Method (component)
Namespaces ► Newtonsoft.Json.Linq ► JPropertyDescriptor ► ShouldSerializeValue(Object)
When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.
Declaration Syntax
Parameters
- component (Object)
- The component with the property to be examined for persistence.
Return Value
true if the property should be persisted; otherwise, false.