Json Datetime issue [duplicate]
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: how to force netwtonsoft json serializer to serialize datetime property to string? I am using Newtonsoft.Json to convert my object in to JSON file. But I am having issue with the DateTime , in my object datetime field is set as "7/30/2012 8:29:12 PM" but in JSON file. I am getting DateTime field in this format: "\/Date(1343660352227+0530)\/" . I need to get the DateTime in the same format as that of the object.