title: How can I read JSON from a file stored locally?
body: <p>I am attempting to use JSON.Net to load in a JSON file stored locally on an ASP.Net MVC 4 site, but am having trouble pointing to the file. Here is what I am trying to do:</p>
  
  <pre><code>List&lt;Treatment&gt; treatments = JsonConvert.DeserializeObject&lt;List&lt;Treatment&gt;&gt;(Server.MapPath("~/Content/treatments.json"));
  </code></pre>
  
  <p>and am hitting this error:</p>
  
  <pre><code>An exception of type 'Newtonsoft.Json.JsonReaderException' occurred in Newtonsoft.Json.dll but was not handled in user code
  
  Additional information: Unexpected character encountered while parsing value: c. Path '', line 0, position 0.
  </code></pre>
  
  <p>What should I be doing differently?</p>