title: Get json data and put it into a variable
body: <p>I have a project where I need to get data with json and then put it into a datagrid.</p>
  
  <p>this is how I get the data: </p>
  
  <pre><code>using (WebClient webClient = new WebClient())
  {
       string email = loginDialog.email;
       string password = loginDialog.password;
  
       WebClient http = new WebClient();
  
       http.Headers.Add("Content-Type", "application/json");
       http.Headers.Add("OSLC-Core-Version", "2.0");
  
       //Windows login: Email + Password
       http.Credentials = new NetworkCredential(email, password);
       using(Stream stream = http.OpenRead(stringURL))
       {
          XmlDocument doc = new XmlDocument();
          doc.Load(stream);
          string json = JsonConvert.SerializeXmlNode(doc);
          //Console.WriteLine(json);
       }
  }
  </code></pre>
  
  <p>Here I get the json data... How can I now put the data(just the priority) in a Variable?</p>
  
  <pre><code>// priority = 
  // BTQStatus = 
  // implementationDate =
  </code></pre>