title: Resolving new lines within a json field
body: <p>I have been using Json.NET to serialize my objects in memory to json.  When I call the following lines of code:</p>
  
  <pre><code>        string json = JsonConvert.SerializeObject(template, Formatting.Indented);
  
          System.IO.File.WriteAllText(file, json);
  </code></pre>
  
  <p>I get the following in a text file:</p>
  
  <pre><code>{
    "template": {
      "title": "_platform",
      "description": "Platform",
      "queries": [
        {
          "query": "// *******************************\n// -- Remove  from DurationWindow at the end  \n// *******************************\t\n"
        }
      ],
      "metadata": ""
    }
  }
  </code></pre>
  
  <p>a query is an object I pulled out of the database, that has a string value.  When I use xml and write to file (Using XDocument), the new lines in the string (as well as the \t) are properly resolved into tabs and new lines in the file.  Is it possible to get the same effect here with json.Net ?</p>