internal static void ProcessObject(JObject obj, DynamicDictionary dict)
 {
     foreach (KeyValuePair <string, JToken> pair in obj)
     {
         if (pair.Value.GetType() == typeof(JValue))
         {
             dict.Dictionary [pair.Key] = ((JValue)pair.Value).Value;
         }
         else if (pair.Value.GetType() == typeof(JObject))
         {
             DynamicDictionary subDict = new DynamicDictionary();
             ProcessObject((JObject)(pair.Value), subDict);
             dict.Dictionary [pair.Key] = subDict;
         }
         else if (pair.Value.GetType() == typeof(JArray))
         {
             DynamicDictionary subDict = new DynamicDictionary();
             ProcessArray((JArray)(pair.Value), subDict);
             dict.Dictionary [pair.Key] = subDict;
         }
     }
 }
 public DynamicDictionaryItems(DynamicDictionary dict)
 {
     _dictionary = dict;
 }