title: Json.NET - deserialising and parsing json data in winforms
body: <p>I am using Newtonsoft Json.net to try and parse some Json data from a file in my C# WinForms application, however I am running into a problem when I read in the data. <br><br>
  I read the data into a string and then deserialise it into my json object but the object is always null and holds no data.<br><br>
  <strong>My Json data/string</strong></p>
  
  <pre><code>{
    "titles": {
      "Title": "Write your title here", 
      "SubTitle": "Write your subtitle here" 
    },
  
    "signees": {
      "SigneeTitle0": "Name of the first signee here", 
      "SigneeTitle1": "Name of the second signee here", 
      "SigneeTitle2": "Name of the third signee here" 
    }
  }
  </code></pre>
  
  <p><strong>Json Object</strong></p>
  
  <pre><code>public class JsonTitles
  {
      public string Title { get; set; }
      public string SubTitle { get; set; }
  }
  </code></pre>
  
  <p><strong>Code to read in json data</strong></p>
  
  <pre><code>   public void ReadFormDataFile(string fileLocation)
      {
          string tmp = File.ReadAllText(fileLocation);
          JsonTitles titles = JsonConvert.DeserializeObject&lt;JsonTitles&gt;(tmp);
      }
  </code></pre>
  
  <p>I know that the data is being read in correctly as I can see it in my tmp string when debugging.<br><br>
  Any help appreciated, thanks.</p>