title: Parsing through JSON in JSON.NET with unknown property names
body: <p>I have some JSON Data which looks like this:</p>
  
  <pre><code>{
     "response":{
     "_token":"StringValue",
     "code":"OK",
     "user":{
       "userid":"2630944",
       "firstname":"John",
       "lastname":"Doe",
       "reference":"999999999",
       "guid":"StringValue",
       "domainid":"99999",
       "username":"jdoe",
       "email":"jdoe@jdoe.edu",
       "passwordquestion":"",
       "flags":"0",
       "lastlogindate":"2013-02-05T17:54:06.31Z",
       "creationdate":"2011-04-15T14:40:07.22Z",
       "version":"3753",
       "data":{
         "aliasname":{
           "$value":"John Doe"
         },
         "smsaddress":{
           "$value":"5555555555@messaging.sprintpcs.com"
         },
         "blti":{
           "hideemail":"false",
           "hidefullname":"false"
         },
         "notify":{
           "grades":{
              "$value":"0"
            },
            "messages":{
              "$value":"1"
            }
         },
         "beta_component_courseplanexpress_1":{
           "$value":"true"
         }
      }
    }
  }
  </code></pre>
  
  <p>I am using C# with JSON.NET to parse through the data.  I've been able to sucessfully get data using this algorithm:</p>
  
  <pre><code>User MyUser = new User();
  JToken data = JObject.Parse(json);
  MyUser.FirstName = (string) data.SelectToken("response.user.firstname");
  //The same for all the other properties.
  </code></pre>
  
  <p>The problem is with the <code>data</code> field.  This field is based on user preferences mostly and data is only inserted as it is used.  The fields are all custom and developers can put in as many as they want without restrictions.  Essentially, it's all free form data.  Also as you notice they can be nested really far with data.</p>
  
  <p>I've tried to run:</p>
  
  <pre><code>MyUser.Data = JsonConvert.DeserializeObject&lt;List&lt;JToken&gt;&gt;((string) data.SelectToken("response.user.data");
  </code></pre>
  
  <p>which doesn't work.</p>
  
  <p>How would you go about converting it to be used in a C# object?</p>