.net Web API Json Property attribute not working when serilize using JsonConvert.serilizeObject
<p>Json libarary to convert data to json </p>

<blockquote>
  <p>this is my main method which return two list one with property list
  List and another is List</p>
</blockquote>

<pre><code>  public static Tuple&lt;List&lt;RoomDayBook&gt;, List&lt;string&gt;&gt; DayBookRowData(DateTime StartDate, DateTime EndDate, int SupplierId, bool wantSubRoom)
        {
            DataSet dsDayBook = FillDayBookData(StartDate, EndDate, SupplierId);

           ............................ 
           ............................

                lstDayBook.Add(objDayBook);
            }
            return new Tuple&lt;List&lt;RoomDayBook&gt;, List&lt;string&gt;&gt;(lstDayBook, Guests);
        }
</code></pre>

<p>In this RoomDayBook class in which i use JsonProperty which give jsonproperty name in json serilization in stand of property name </p>

<pre><code>public class RoomDayBook
{
    [JsonProperty(PropertyName = "RC")]
    public string RoomCode { get; set; }
    [JsonProperty(PropertyName = "RN")]
    public string RoomName { get; set; }
    [JsonProperty(PropertyName = "HS")]
    public bool HasSubRoom { get; set; }
    [JsonProperty(PropertyName = "RD")]
    public List&lt;RoomDetail&gt; RoomDetails { get; set; }
    [JsonProperty(PropertyName = "SRs", NullValueHandling = NullValueHandling.Ignore)]
    public List&lt;RoomDayBook&gt; SubRooms { get; set; }
}
</code></pre>

<p>it's woking perfectly in normal aspx webmethods but not working in web api please help me find me reason behind it </p>