Get nested JSON values : <p>I send a request to an API and I get this JSON back:</p>

<pre><code>{{
  "id": 1,
  "name": "LoginTest",
  "status": "ready",
  "testvalues_count": 2,
  "testvalues": [
    {
      "id": 1,
      "name": "Username",
      "value": "Test"
    },
    {
      "id": 2,
      "name": "Password",
      "value": "password1"
    }
  ]
}}
</code></pre>

<p>I can get the value of the <code>name</code> item easily:</p>

<pre><code>var api = new DataApi();
var json = api.GetTestData("LoginTest");
dynamic testData = JsonConvert.DeserializeObject&lt;dynamic&gt;(json);
var name = testData.name;
</code></pre>

<p>But I also need the values of the <code>Username</code> and <code>Password</code> items. How can I do that?</p>
