How can I escape double quotes in my JSON responses?
<p>I have the below code which transforms a datatable into a JSON string, the JSON I'm getting from my WCF service looks like this;</p>

<pre><code>   [{"id":"7c6c2d6b-416c-4535-95ba-b49a9f0c008b","title":"hello","description":"world","complete":true,"DependsOnTask":"63d47a78-ba4d-4740-9f61-9247dd9d5e82","id1":"63d47a78-ba4d-4740-9f61-9247dd9d5e82","title1":"another","description1":"example","complete1":false,"DependsOnTask1":null}]
</code></pre>

<p>and the conversion code looks like this; </p>

<pre><code> string json = JsonConvert.SerializeObject(dt,Formatting.Indented);
                        string cleanjson = json.Replace("\"", "");
                        return json;
</code></pre>

<p>the problem is that I can't deserialise the JSON properly on the client recieving that response because the JSON has extra double quotes in it, and I have been unable to remove them using string.replace.</p>

<p>is there another way to do this at all?</p>

<p>Thanks in advance :)</p>

<p>*******UPDATE*********</p>

<p>This is the code I'm using on the client</p>

<pre><code> private void LoadTasks()
        {
            // get the todo list items
            ToDoService.ToDoServiceClient client = new ToDoService.ToDoServiceClient();

            try
            {
                //List&lt;ToDoService.ToDoItemContract&gt; toDoItems = client.GetToDoItems("").ToList();
               //List&lt;string&gt; ItemsWithDependantTasks = new List&lt;string&gt;();

                var Items= client.GetAllDependantTasks();
                List&lt;string&gt; list = JsonConvert.DeserializeObject&lt;List&lt;string&gt;&gt;(Items);



                dlTasks.DataSource = list;


                dlTasks.DataBind();

                client.Close();
            }
            catch (Exception ex)
            {
                // TODO: Log error
                client.Abort();
            }
        }
</code></pre>