title: How to make JSON.Net serializer to call ToString() when serializing a particular type?
body: <p>I am using Newtonsoft.Json serializer to convert C# classes to JSON. For some classes I don't need the serializer to an instance to individual properties, but instead just call ToString on the object, i.e.</p>
  
  <pre><code>public class Person
  {
     public string FirstName { get; set; }
     public string LastName { get; set; }
  
     public override string ToString() { return string.Format("{0} {1}", FirstName, LastName ); }
  }
  </code></pre>
  
  <p>What should I do to get the Person object serialized as the result of its ToString() method? I may have many classes like this, so I don't want to end up with a serializer specific for Person class, I want to have one than can be applicable to any classe (via attribute I guess).</p>