Json.NET serialization pre and post calls -


I jason to serialize an object graph I am using Net. Each object has been serialized or deserialized, I want to call a method on that object before serialization occurs. For example, all my objects apply an interface with inserilization with a method. Before I serialize the object, I would like to be called onserilyising.

Is there a way to get it without touching the Jason.Net source code?

The latest version of support.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -