Json.NET - Quick Starts & API Documentation
OnSerializing Property
Namespaces ► Newtonsoft.Json.Serialization ► JsonContract ► OnSerializing
Gets or sets the method called before serialization of the object.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public MethodInfo OnSerializing { get; set; }
Public Property OnSerializing As MethodInfo Get Set
public: property MethodInfo^ OnSerializing { MethodInfo^ get (); void set (MethodInfo^ value); }
Value
The method called before serialization of the object.