When i serialize my DataTable using json.NET and return as json string in WCF service i have the following data
myJson data :
[{\"Name\":\"Name1\",\"Age\":20},{\"Name\":\"Name2\",\"Age\":23},{\"Name\":\"Name3\",\"Age\":28}]
But it is not bind in jquery chart because of the escape characters. Actually when the above value is write in Console.WriteLine it returns the correct data like below. In Server side also if i use JsonTextReader data getting like below :
[{"Name":"Name1","Age":20},{"Name":"Name2","Age":23},{"Name":"Name3","Age":28}]
So how to chnage the format in Jquery or can i send the data same as second one in wcf?