I have a json
file in the following format:
{
"1": {
"additional text": "Info about ..",
"description": "you can find info about ... here",
"link": "https:.."
},
"2": {
"additional text": "Info:",
"description": "Details about ...",
"link": "https://..."
}
}
What I have right now is
dynamic d = JObject.Parse(response.Content.ToString());
With this code, I get the whole json. I don't know how to get the content of 1
, and its nested elements.
In the meantime, I also tried
String rootObjects = JsonConvert.DeserializeObject<String>(response.Content.ToString());
but again I have the same problem that I can't get the content of each element.