title: C# : asp.net 3.5 : Deserialize JSON - how to get each object string?
body: <p>i know there is other places that give this answer but what i am trying to achieve is more complicated,  this is my code for deserialization :</p>
  
  <p>this is the json data for exemple :</p>
  
  <pre><code>data = @"{""ShiftID"":""2"",""EmpName"":""dsdsfs""}";
  
  Dictionary&lt;string, string&gt; values = JsonConvert.DeserializeObject&lt;Dictionary&lt;string, string&gt;&gt;(data);
  List&lt;string&gt; list = new List&lt;string&gt;(values.Keys);
  // Loop through list
  foreach (string k in list)
  {
      System.Diagnostics.Debug.Print("'{0}', '{1}'", k, values[k]);
  }
  </code></pre>
  
  <p>this will return ShiftID,2 and EmpName, dsdsfs like you know but!</p>
  
  <p>What happen if my json string look like this with multiple values :</p>
  
  <pre><code>data = @"{""ShiftID"":""2"",""EmpName"":""dsdsfs""},{""ShiftID"":""4"",""EmpName"":""dsdsfd""}";
  </code></pre>
  
  <p>Thanks!</p>