JSON
- 1 ответ
- 0 вопросов
0
Вклад в тег
JObject o = JObject.Parse(@"
{
"channels" :
[
{
"guid" : "sHyGfRs",
"name" : "Name 1",
"rights" : "783",
"codec" : "h264",
"have_ptz" : "0"
}
]
}");
JToken guid = o.SelectToken("$.channels[0].guid");
Console.WriteLine(guid );