title: Parse JSON object in C# without using class
body: <p>I have two string values in a JSON object. I want to call this method in same class and use the values without using class.</p>
  
  <p>I am using the following method:</p>
  
  <pre><code>public JsonResult Details()
  {
      return Json(new { Data = "DisplayName", result = "UniqueName" });
  }
  </code></pre>
  
  <p>I need to use this data and result value in another method.</p>
  
  <p>I am getting the value like:</p>
  
  <pre><code>var Details = JsonConvert.SerializeObject(Details());
  </code></pre>
  
  <p>My output is:</p>
  
  <pre><code>{
      \"ContentEncoding\": null,
      \"ContentType\": null,
      \"Data\": {
          \"Data\": \"DisplayName\",
          \"result\": \"UniqueName\"
      },
      \"JsonRequestBehavior\": 1,
      \"MaxJsonLength\": null,
      \"RecursionLimit\": null
  }
  </code></pre>
  
  <p>How do I get the data and result value from this?</p>