title: Deserialize JSON String Nested Dictionary
body: <p>I am trying to use <a href="http://developer.riotgames.com/api/methods" rel="nofollow">Riot games REST API</a> to make a webapp in C#.  I am fine with making the requests using <a href="http://restsharp.org/" rel="nofollow">RESTSharp</a> but am having some problems using <a href="https://json.codeplex.com/" rel="nofollow">JSON.Net</a> to convert the returned Json to an object.  My request returns a JSON string for example:</p>
  
  <p><code>{\"dyrus\":{\"id\":4136713,\"name\":\"Dyrus\",\"profileIconId\":23,\"summonerLevel\":1,\"revisionDate\":1376908220000}}</code></p>
  
  <p>I want to deserialize this into an object that has attributes: <code>id</code>, <code>name</code>, <code>profileIconID</code>, <code>summonerLevel</code> and <code>revisionDate</code>.</p>
  
  <p>The problem I am having is that the information is being deserialized as a string because the Dictionary is nested.  What is the best way to just retrieve the nested Dictionary portion of the string: <code>{\"id\":4136713,\"name\":\"Dyrus\",\"profileIconId\":23,\"summonerLevel\":1,\"revisionDate\":1376908220000}</code> and convert it into an object?</p>
  
  <p>Thanks for your help!</p>
  
  <p>Edit:</p>
  
  <p>Here is what I have tried:</p>
  
  <pre><code>public class LeagueUser
  {
      public LeagueUser(string json)
      {
          JavaScriptSerializer serializer = new JavaScriptSerializer();
          string jsonString = (string)serializer.DeserializeObject(json);
          LeagueUser test = (LeagueUser)serializer.DeserializeObject(jsonString);
      }
      public int id { get; set; }
      public string name { get; set; }
      public long revisionDate { get; set; }
  }
  </code></pre>