I have a JSON response (which I have no control over) similar to this:
{"response":{
"a" : "value of a",
"b" : "value of b",
"c" : "value of c",
...
}}
Where:
- "a", "b", "c" are unknown names upfront.
- The number of items can vary.
All I need at the end is an array of strings for all the values. Keeping the names is a bonus (Dictionary?) but I need to browse values by the order in which they appear.
How would you achieve this using JSON.NET?