title: How to access inner stringified JSON data using JavaScriptSerializer
body: <p>JSON:</p>
  
  <pre><code>{  
      "o-data":[  
          {  
              "entry 1":"test1",
              "entry 2":"test2",
              "entry 3":"test3",
              "entry 4":"118"
          }
      ]
  }
  </code></pre>
  
  <p>C#:</p>
  
  <pre><code>dynamic dn = dyndata(json);
  foreach (KeyValuePair&lt;string, object&gt; kvp in dn)
  {
      //I would like to be able to get all the inner data for `o-data` like below...
      string entry1 = "";// test1
      string entry2 = "";// test2
      string entry3 = "";// test3
  
      //but instead I get `{[o-data, System.Object[]]}`
      string second = kvp.Value.ToString(); // gives my 'System.Object[]'
  }
  
  public dynamic dyndata(string json)
  {
      dynamic dyn1 = new System.Dynamic.ExpandoObject();
      try
      {
          var serializer = new JavaScriptSerializer();
          var result = serializer.DeserializeObject(json);
          return result);
      }
      catch { return Tuple.Create(dDummy, false); }
  }
  </code></pre>
  
  <p>How can I the KVP of the inner list for 'o-data'.</p>
  
  <p>Currently it only loop once because of <code>o-data</code>. I would like to get the inner list of <code>o-data</code> and loop through that.</p>