title: JSON Not Deserializing
body: <p>This is one of my first ventures into WCF/JSON. I created a WCF Web Service. This is one of my methods. It is how I serialize the datable to JSON.</p>
  
  <pre><code>   public string GetPrayers()
      {
          DataTable myDt = new DataTable();
          myDt = sprocToDT("LoadPrayers");
          string JSONString = string.Empty;
          JSONString = JsonConvert.SerializeObject(myDt, Formatting.None);
          return JSONString;
      }
  </code></pre>
  
  <p>This returns a nice JSON Dataset:</p>
  
  <blockquote>
    <p>{"GetPrayersResult":"[{\"prayerid\":2,\"prayer\":\"Please pray for my
    dog Rusty. He has cancer
    :(\",\"prayerCategory\":\"General\",\"prayerDate\":\"2017-06-10T21:24:16.1\",\"handle\":\"GuruJee\",\"country\":\"USA\"},{\"prayerid\":1,\"prayer\":\"Help
    Me I need a appendectomy
    STAT\",\"prayerCategory\":\"Sports\",\"prayerDate\":\"2017-04-10T20:30:39.77\",\"handle\":\"GuruJee\",\"country\":\"USA\"}]"}</p>
  </blockquote>
  
  <p>When I go to deserialize it I get all nulls. Here is the classes I created:</p>
  
  <pre><code> public class PrayUpPrayers
          {
              public string prayer { get; set; }
              public string prayerid { get; set; }
              public string prayerCategory { get; set; }
              public string prayerCategoryID { get; set; }
              public string prayerDate { get; set; }
              public string handle { get; set; }
              public string country { get; set; }  
          }
  
          public class ThePrayer
          {
          public PrayUpPrayers prayers { get; set; }
          }
  
  
      }
  </code></pre>
  
  <p>This is how I am retrieving the JSON:</p>
  
  <pre><code>void getData()
          {
              var request = HttpWebRequest.Create(string.Format(@"URLGoesHere"));
              request.ContentType = "application/json";
              request.Method = "GET";
  
              using (HttpWebResponse response = request.GetResponse() as HttpWebResponse)
              {
                  if (response.StatusCode != HttpStatusCode.OK)
                      Console.Out.WriteLine("Error fetching data. Server returned status code: {0}", response.StatusCode);
                  using (StreamReader reader = new StreamReader(response.GetResponseStream()))
                  {
                      var content = reader.ReadToEnd();
                      string foo = content.ToString();
  
                      var testing = JsonConvert.DeserializeObject&lt;prayupapp.ModelClasses.PrayUpPrayers&gt;(foo,
                 new JsonSerializerSettings
                 {
                     NullValueHandling = NullValueHandling.Ignore
                 });
  </code></pre>
  
  <p>Testing is always null? Is the issue that I am serializing it wrong, could it be the class structure, or is it related to how I am deserializing it. One important note: I checked my JSON on one of these JSONClassesFromC# sites and it only returns the GetPrayersResult as the only class item. Ignoring completely my entire structure.</p>