This project has moved and is read-only. For the latest updates, please go here.

During Serialization, add new properties to the object

Jul 23, 2013 at 12:57 PM
Is there a way in JSON.NET, I can override the serializer to add new properties to the serialized object based on a field level attribute.

For example, If I have DateTime field in my class, during serialization I want to add new strings to the serialized object to also include the DateTime value in a long string format and short string format.

Thank you