IJsonOnSerializing public interface IJsonOnSerializing Specifies that the type should have its OnSerializing method called before serialization occurs. Documentation Code void OnSerializing() The method that is called before serialization.