How do I convert a JSON array like this
[{\"myKey\":\"myValue\"}, {\"anotherKey\":\"anotherValue\"}]
to a C# Dictionary wi
Maybe converting to array of KeyValuePairs will help
using System.Linq; var list = JsonConvert.DeserializeObject>>(jsonContent); var dictionary = list.ToDictionary(x => x.Key, x => x.Value);