Last post Dec 21, 2016 09:09 AM by Cathy Zou
Member
658 Points
337 Posts
Dec 14, 2016 09:55 AM|sayitfast|LINK
How can I bind this JSON to a list view?
{ "channels": { "22802056": { "id": "22802056", "title": "TV Live 1", "url": "http://www.ustream.tv/channel/XBccccHefj", "tiny_url": "http://ustre.am/1xss6", "broadcast_urls": [ "rtmp://sjc-uhs-omega06.ustream.tv/ustreamVideo/22802ccc", "rtmp://sjc-uhs-omega13.ustream.tv/ustreamVideo/22802ccc", "rtmp://sjc-uhs-omega15.ustream.tv/ustreamVideo/22802ccc" ], "status": "offline", "description": "", "owner": { "id": "37134940", "username": "xxxx_align", "picture": "https://ustvstaticcdn1-a.akamaihd.net/images/defaults/user_48x48:3.png" }, "authority": { "reason": "own" }, "default": true }, "22802058": { "id": "22802058", "title": "TV Live 2", "url": "http://www.ustream.tv/channel/DjAccczbPJ", "tiny_url": "http://ustre.am/1ssR8", "broadcast_urls": [ "rtmp://sjc-uhs-omega06.ustream.tv/ustreamVideo/228020ccc", "rtmp://sjc-uhs-omega13.ustream.tv/ustreamVideo/228020ccc", "rtmp://sjc-uhs-omega15.ustream.tv/ustreamVideo/228020ccc" ], "status": "offline", "description": "", "owner": { "id": "37134940", "username": "xxxx_align", "picture": "https://ustvstaticcdn1-a.akamaihd.net/images/defaults/user_48x48:3.png" }, "authority": { "reason": "own" } } }, "paging": { "actual": { "href": "https://api.ustream.tv/users/self/channels.json?p=1" } } }
Any help is appreciated.
Star
8670 Points
2882 Posts
Dec 21, 2016 09:09 AM|Cathy Zou|LINK
Hi, sayitfast.
From your description. you want display you data using list view. However, It seems that you json data not well organized.
I am not clear about which part of data you want to display.
Besides, I think the following link is helpful for you, you could refer to it:
http://json2csharp.com/
http://stackoverflow.com/questions/2246694/how-to-convert-json-object-to-custom-c-sharp-object
Best Regards
Cathy
Member
658 Points
337 Posts
How to bind JSON to ListView
Dec 14, 2016 09:55 AM|sayitfast|LINK
How can I bind this JSON to a list view?
Any help is appreciated.
Star
8670 Points
2882 Posts
Re: How to bind JSON to ListView
Dec 21, 2016 09:09 AM|Cathy Zou|LINK
Hi, sayitfast.
From your description. you want display you data using list view. However, It seems that you json data not well organized.
I am not clear about which part of data you want to display.
Besides, I think the following link is helpful for you, you could refer to it:
http://json2csharp.com/
http://stackoverflow.com/questions/2246694/how-to-convert-json-object-to-custom-c-sharp-object
Best Regards
Cathy
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.