I have JSON like this:
{
"Property":"Blah blah",
"Dictionary": {
"Key1" : "Value1",
"Key2" : "Value2",
"Key3" : "Value3"
}
}
I want to extract the "Dictionary" object as a Dictionary (so it'd be like Key1 => Value1, etc.). If I just had the "Dictionary" object directly, I could use:
JsonConvert.DeserializeObject<Dictionary<string, string>>
What's the best way to get just the Dictionary property as a Dictionary?
Thanks in advance! Tim