String Contents =
{
"links":[
{
".tag":"file",
"url":"myURL",
"id":"CCCCC",
"name":"CCCC",
"path_lower":"CCCC"
},
{
"url".. and so on.
}
JObject json = JObject.Parse(contents);
Console.WriteLine(json.GetValue("links.url"));
I am trying to get all the URL values and store them into an array. The problem is that this code does not parse anything.
The main json
is links and the rest is under it. How can I go about getting all the URL values?