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

Custom Attribute for Serialization in JSON.NET

May 10, 2011 at 3:40 PM

Using JSON.NET, I would like to change the serialization attribute [JsonProperty] to [CustomSerializable].

class Person

    int Age;

    string Name;

How to serialize this entity based on the custom attribute [CustomSerializable]?