title: How can I parse JSON string from HttpClient?
body: <p>I am getting a JSON result by calling an external API.</p>
  <pre><code>        HttpClient client = new HttpClient();
          client.BaseAddress = new Uri(url);
          client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue(&quot;application/json&quot;));
          HttpResponseMessage response = client.GetAsync(url).Result;
  
          if (response.IsSuccessStatusCode)
          {
              var result  = response.Content.ReadAsStringAsync().Result;
              var s = Newtonsoft.Json.JsonConvert.DeserializeObject(result);
              return &quot;Success&quot;;
          }
          else
          {
              return &quot;Fail&quot;;
          }
  </code></pre>
  <p>The result in line <code>var s = Newtonsoft.Json.JsonConvert.DeserializeObject(result);</code> I am getting is like:</p>
  <pre><code> {{
    &quot;query&quot;: &quot;1&quot;,
    &quot;topScoringIntent&quot;: {
      &quot;intent&quot;: &quot;1&quot;,
      &quot;score&quot;: 0.9978111,
      &quot;actions&quot;: [
        {
          &quot;triggered&quot;: false,
          &quot;name&quot;: &quot;1&quot;,
          &quot;parameters&quot;: []
        }
      ]
    },
    &quot;entities&quot;: [],
    &quot;dialog&quot;: {
      &quot;prompt&quot;: &quot;1&quot;,
      &quot;parameterName&quot;: &quot;1&quot;,
      &quot;parameterType&quot;: &quot;1::1&quot;,
      &quot;contextId&quot;: &quot;11&quot;,
      &quot;status&quot;: &quot;1&quot;
    }
  }}
  </code></pre>
  <p>I am using <code>HttpClient</code>. I am facing difficulty in accessing <code>prompt</code> key-value. I want to get <code>prompt</code> from <code>dialog</code>. How can I get it?</p>