請幫我從這個JSON在C#中解析數組:如何用Newtonsoft.Json解析json數組?
{
"error_code":0,
"response":
{
"17":
{
"id":"17","name":"Books"
},
"21":
{
"id":"21","name":"Movies"
},
"13":
{
"id":"13","name":"Cafe"
},
"5":
{
"id":"5","name":"Music"
},
"49":
{
"id":"49","name":"Theatres"
}
}
}
我使用Newtonsoft.Json庫
這不是一個數組,它的哪些屬性命名,而這恰好是數字的字符串對象。 – Jite