Create a dictionary in json linq

Jul 21, 2010 at 9:01 AM
I can create the object below and then add it to an array. How would I create a dictionary instead in json linq? Thanks Nabil var group = new JObject(                         new JProperty("Key", new JValue(row["Key"])),                         new JProperty("item", new JValue(row["item"]))                         );
Coordinator
Jul 22, 2010 at 3:21 AM

JObject is a dictionary: IDictionary<string, JToken>