JSON format and visual display – http://jsonviewer.stack.hu/


Trang web miễn phí giúp việc phân tích json trở nên đơn giản hơn

Ví dụ với playlist của YouTube trả về https://gdata.youtube.com/feeds/api/playlists/PLXImJ6jTTEi4JYaz0NrO0_bCEfn-eaCwz?v=2&alt=jsonc

Thay vì

1 {"apiVersion":"2.1","data":{"id":"PLXImJ6jTTEi4JYaz0NrO0_bCEfn-eaCwz","author":"ntdanable","title":"Videos winform C#","description":"","thumbnail":{"sqDefault":"https://i.ytimg.com/vi/OYV9xsZSFgA/default.jpg","hqDefault":"https://i.ytimg.com/vi/OYV9xsZSFgA/hqdefault.jpg"},"content":{"5":"http://www.youtube.com/p/PLXImJ6jTTEi4JYaz0NrO0_bCEfn-eaCwz"},"totalItems":10,"startIndex":1,"itemsPerPage":25,"items":[{"id":"PL7Dmo3mHp_ePvPxuTq_LDHK6PrZ9Ec3eGW8jZwOqehVg","position":1,"author":"ntdanable","video":{"id":"OYV9xsZSFgA","uploaded":"2012-12-27T12:25:13.000Z","updated":"2013-12-31T10:05:51.000Z","uploader":"ntdanable","category":"Education","title":"Bu?i 00","description":"T?ng quan v? window form","thumbnail":{"sqDefault":"https://i1.ytimg.com/vi/OYV9xsZSFgA/default.jpg","hqDefault":"https://i1.ytimg.com/vi/OYV9xsZSFgA/hqdefault.jpg"},"player":{"default":"https://www.youtube.com/watch?v=OYV9xsZSFgA&feature=youtube_gdata_player","mobile":"https://m.youtube.com/details?v=OYV9xsZSFgA"},"content":{"5":"https://www.youtube.com/v/OYV9xsZSFgA?version=3&f=playlists&app=youtube_gdata","1":"rtsp://r8---sn-a5m7zu7d.c.youtube.com/CiULENy73wIaHAkAFlLGxn2FORMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","6":"rtsp://r8---sn-a5m7zu7d.c.youtube.com/CiULENy73wIaHAkAFlLGxn2FORMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp"},"duration":5323,"viewCount":552,"favoriteCount":0,"commentCount":1,"accessControl":{"comment":"allowed","commentVote":"allowed","videoRespond":"moderated","rate":"allowed","embed":"allowed","list":"allowed","autoPlay":"allowed","syndicate":"allowed"}}},{"id":"PL7Dmo3mHp_ePvPxuTq_LDHC7bijtgLtjeNAKrbqDHgU8","position":2,"author":"ntdanable","video":{"id":"0upGEc3Ij1k","uploaded":"2012-12-27T12:16:55.000Z","updated":"2013-12-31T10:05:51.000Z","uploader":"ntdanable","category":"Education","title":"OnWFC P1","description":"","thumbnail":{"sqDefault":"https://i1.ytimg.com/vi/0upGEc3Ij1k/default.jpg","hqDefault":"https://i1.ytimg.com/vi/0upGEc3Ij1k/hqdefault.jpg"},"player":{"default":"https://www.youtube.com/watch?v=0upGEc3Ij1k&feature=youtube_gdata_player","mobile":"https://m.youtube.com/details?v=0upGEc3Ij1k"},"content":{"5":"https://www.youtube.com/v/0upGEc3Ij1k?version=3&f=playlists&app=youtube_gdata","1":"rtsp://r2---sn-a5m7zu7k.c.youtube.com/CiULENy73wIaHAlZj8jNEUbq0hMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","6":"rtsp://r2---sn-a5m7zu7k.c.youtube.com/CiULENy73wIaHAlZj8jNEUbq0hMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp"},"duration":1403,"viewCount":298,"favoriteCount":0,"commentCount":2,"accessControl":{"comment":"allowed","commentVote":"allowed","videoRespond":"moderated","rate":"allowed","embed":"allowed","list":"allowed","autoPlay":"allowed","syndicate":"allowed"}}},{"id":"PL7Dmo3mHp_ePvPxuTq_LDHPnX3WIaCI7jfK987P_Pbxs","position":3,"author":"ntdanable","video":{"id":"kG3qahrmhOU","uploaded":"2012-12-27T12:23:54.000Z","updated":"2013-12-31T10:05:51.000Z","uploader":"ntdanable","category":"Education","title":"OnWFC P2","description":"Vdeo hu?ng d?n t?o vào s? d?ng ADO.NET khai khác d? li?u Sql server s? d?ng visual studiio 2005.","thumbnail":{"sqDefault":"https://i1.ytimg.com/vi/kG3qahrmhOU/default.jpg","hqDefault":"https://i1.ytimg.com/vi/kG3qahrmhOU/hqdefault.jpg"},"player":{"default":"https://www.youtube.com/watch?v=kG3qahrmhOU&feature=youtube_gdata_player","mobile":"https://m.youtube.com/details?v=kG3qahrmhOU"},"content":{"5":"https://www.youtube.com/v/kG3qahrmhOU?version=3&f=playlists&app=youtube_gdata","1":"rtsp://r2---sn-a5m7zu7l.c.youtube.com/CiULENy73wIaHAnlhOYaauptkBMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","6":"rtsp://r2---sn-a5m7zu7l.c.youtube.com/CiULENy73wIaHAnlhOYaauptkBMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp"},"duration":2963,"viewCount":294,"favoriteCount":0,"commentCount":2,"accessControl":{"comment":"allowed","commentVote":"allowed","videoRespond":"moderated","rate":"allowed","embed":"allowed","list":"allowed","autoPlay":"allowed","syndicate":"allowed"}}},{"id":"PL7Dmo3mHp_ePvPxuTq_LDHJ0vy_-UoOTFSW2Mt7EMF0Q","position":4,"author":"ntdanable","video":{"id":"YMZ5gYc9g3o","uploaded":"2012-12-27T12:25:02.000Z","updated":"2013-12-31T10:05:51.000Z","uploader":"ntdanable","category":"Education","title":"OnWFC P3","description":"","thumbnail":{"sqDefault":"https://i1.ytimg.com/vi/YMZ5gYc9g3o/default.jpg","hqDefault":"https://i1.ytimg.com/vi/YMZ5gYc9g3o/hqdefault.jpg"},"player":{"default":"https://www.youtube.com/watch?v=YMZ5gYc9g3o&feature=youtube_gdata_player","mobile":"https://m.youtube.com/details?v=YMZ5gYc9g3o"},"content":{"5":"https://www.youtube.com/v/YMZ5gYc9g3o?version=3&f=playlists&app=youtube_gdata","1":"rtsp://r4---sn-a5m7zu7s.c.youtube.com/CiULENy73wIaHAl6gz2HgXnGYBMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","6":"rtsp://r4---sn-a5m7zu7s.c.youtube.com/CiULENy73wIaHAl6gz2HgXnGYBMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp"},"duration":1251,"viewCount":174,"favoriteCount":0,"commentCount":0,"accessControl":{"comment":"allowed","commentVote":"allowed","videoRespond":"moderated","rate":"allowed","embed":"allowed","list":"allowed","autoPlay":"allowed","syndicate":"allowed"}}},{"id":"PL7Dmo3mHp_ePvPxuTq_LDHGDgBXE7TNsK2yc_9NIM4d4","position":5,"author":"ntdanable","video":{"id":"S778YynB308","uploaded":"2012-12-27T12:28:48.000Z","updated":"2013-12-31T10:05:51.000Z","uploader":"ntdanable","category":"Education","title":"OnWFC P4","description":"","thumbnail":{"sqDefault":"https://i1.ytimg.com/vi/S778YynB308/default.jpg","hqDefault":"https://i1.ytimg.com/vi/S778YynB308/hqdefault.jpg"},"player":{"default":"https://www.youtube.com/watch?v=S778YynB308&feature=youtube_gdata_player","mobile":"https://m.youtube.com/details?v=S778YynB308"},"content":{"5":"https://www.youtube.com/v/S778YynB308?version=3&f=playlists&app=youtube_gdata","1":"rtsp://r8---sn-a5m7zu76.c.youtube.com/CiULENy73wIaHAlP38EpY_y-SxMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","6":"rtsp://r8---sn-a5m7zu76.c.youtube.com/CiULENy73wIaHAlP38EpY_y-SxMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp"},"duration":1536,"viewCount":207,"favoriteCount":0,"commentCount":0,"accessControl":{"comment":"allowed","commentVote":"allowed","videoRespond":"moderated","rate":"allowed","embed":"allowed","list":"allowed","autoPlay":"allowed","syndicate":"allowed"}}},{"id":"PL7Dmo3mHp_ePvPxuTq_LDHKI3jap7XpsvUL45gGFZWo8","position":6,"author":"ntdanable","video":{"id":"XgNE9zkCjog","uploaded":"2012-12-27T12:35:59.000Z","updated":"2013-12-31T10:05:51.000Z","uploader":"ntdanable","category":"Education","title":"OnWFC P6","description":"","thumbnail":{"sqDefault":"https://i1.ytimg.com/vi/XgNE9zkCjog/default.jpg","hqDefault":"https://i1.ytimg.com/vi/XgNE9zkCjog/hqdefault.jpg"},"player":{"default":"https://www.youtube.com/watch?v=XgNE9zkCjog&feature=youtube_gdata_player","mobile":"https://m.youtube.com/details?v=XgNE9zkCjog"},"content":{"5":"https://www.youtube.com/v/XgNE9zkCjog?version=3&f=playlists&app=youtube_gdata","1":"rtsp://r2---sn-a5m7zu7k.c.youtube.com/CiULENy73wIaHAmIjgI590QDXhMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","6":"rtsp://r2---sn-a5m7zu7k.c.youtube.com/CiULENy73wIaHAmIjgI590QDXhMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp"},"duration":1742,"viewCount":234,"favoriteCount":0,"commentCount":0,"accessControl":{"comment":"allowed","commentVote":"allowed","videoRespond":"moderated","rate":"allowed","embed":"allowed","list":"allowed","autoPlay":"allowed","syndicate":"allowed"}}},{"id":"PL7Dmo3mHp_ePvPxuTq_LDHCw8uQHFuWESr_dm2jmzjPQ","position":7,"author":"ntdanable","video":{"id":"WSYD-XUr1a8","uploaded":"2012-12-27T12:33:21.000Z","updated":"2013-12-31T10:05:51.000Z","uploader":"ntdanable","category":"Education","title":"OnWFC P5","description":"Vdeo hu?ng d?n t?o vào s? d?ng crystal report v?i C# s? d?ng visual studio 2005","thumbnail":{"sqDefault":"https://i1.ytimg.com/vi/WSYD-XUr1a8/default.jpg","hqDefault":"https://i1.ytimg.com/vi/WSYD-XUr1a8/hqdefault.jpg"},"player":{"default":"https://www.youtube.com/watch?v=WSYD-XUr1a8&feature=youtube_gdata_player","mobile":"https://m.youtube.com/details?v=WSYD-XUr1a8"},"content":{"5":"https://www.youtube.com/v/WSYD-XUr1a8?version=3&f=playlists&app=youtube_gdata","1":"rtsp://r1---sn-a5m7zu7z.c.youtube.com/CiULENy73wIaHAmv1St1-QMmWRMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","6":"rtsp://r1---sn-a5m7zu7z.c.youtube.com/CiULENy73wIaHAmv1St1-QMmWRMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp"},"duration":2559,"viewCount":305,"favoriteCount":0,"commentCount":0,"accessControl":{"comment":"allowed","commentVote":"allowed","videoRespond":"moderated","rate":"allowed","embed":"allowed","list":"allowed","autoPlay":"allowed","syndicate":"allowed"}}},{"id":"PL7Dmo3mHp_ePvPxuTq_LDHALFxzLmar49wl_V7mHZt5Y","position":8,"author":"ntdanable","video":{"id":"6isPeiXcFx4","uploaded":"2012-12-28T09:56:35.000Z","updated":"2013-12-31T10:05:51.000Z","uploader":"ntdanable","category":"Education","title":"OnWFC P7","description":"Vdeo hu?ng d?n t?o vào s? d?ng usercontrol và custom control v?i C# s? d?ng visual studiio 2005.","thumbnail":{"sqDefault":"https://i1.ytimg.com/vi/6isPeiXcFx4/default.jpg","hqDefault":"https://i1.ytimg.com/vi/6isPeiXcFx4/hqdefault.jpg"},"player":{"default":"https://www.youtube.com/watch?v=6isPeiXcFx4&feature=youtube_gdata_player","mobile":"https://m.youtube.com/details?v=6isPeiXcFx4"},"content":{"5":"https://www.youtube.com/v/6isPeiXcFx4?version=3&f=playlists&app=youtube_gdata","1":"rtsp://r1---sn-a5m7zu7s.c.youtube.com/CiULENy73wIaHAkeF9wleg8r6hMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","6":"rtsp://r1---sn-a5m7zu7s.c.youtube.com/CiULENy73wIaHAkeF9wleg8r6hMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp"},"duration":2587,"viewCount":152,"favoriteCount":0,"commentCount":0,"accessControl":{"comment":"allowed","commentVote":"allowed","videoRespond":"moderated","rate":"allowed","embed":"allowed","list":"allowed","autoPlay":"allowed","syndicate":"allowed"}}},{"id":"PL7Dmo3mHp_ePvPxuTq_LDHHiP4d82uww8rGK6GINEnNo","position":9,"author":"ntdanable","video":{"id":"p4T5UmUvGD8","uploaded":"2012-12-28T09:51:38.000Z","updated":"2013-12-31T10:05:51.000Z","uploader":"ntdanable","category":"Education","title":"OnWFC P8","description":"On tap winform P8","thumbnail":{"sqDefault":"https://i1.ytimg.com/vi/p4T5UmUvGD8/default.jpg","hqDefault":"https://i1.ytimg.com/vi/p4T5UmUvGD8/hqdefault.jpg"},"player":{"default":"https://www.youtube.com/watch?v=p4T5UmUvGD8&feature=youtube_gdata_player","mobile":"https://m.youtube.com/details?v=p4T5UmUvGD8"},"content":{"5":"https://www.youtube.com/v/p4T5UmUvGD8?version=3&f=playlists&app=youtube_gdata","1":"rtsp://r8---sn-a5m7zu7r.c.youtube.com/CiULENy73wIaHAk_GC9lUvmEpxMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","6":"rtsp://r8---sn-a5m7zu7r.c.youtube.com/CiULENy73wIaHAk_GC9lUvmEpxMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp"},"duration":641,"rating":5.0,"likeCount":"2","ratingCount":2,"viewCount":144,"favoriteCount":0,"commentCount":0,"accessControl":{"comment":"allowed","commentVote":"allowed","videoRespond":"moderated","rate":"allowed","embed":"allowed","list":"allowed","autoPlay":"allowed","syndicate":"allowed"}}},{"id":"PL7Dmo3mHp_ePvPxuTq_LDHGR96xIFPXq11HLesHWMmtc","position":10,"author":"ntdanable","video":{"id":"75kdIx-9E9E","uploaded":"2013-02-20T13:43:11.000Z","updated":"2014-04-24T18:55:14.000Z","uploader":"ntdanable","category":"Education","title":"Form Login - User Authentication with database visaul c#","description":"Form Login - User Authentication with user from sql server 2005 - c#","thumbnail":{"sqDefault":"https://i1.ytimg.com/vi/75kdIx-9E9E/default.jpg","hqDefault":"https://i1.ytimg.com/vi/75kdIx-9E9E/hqdefault.jpg"},"player":{"default":"https://www.youtube.com/watch?v=75kdIx-9E9E&feature=youtube_gdata_player","mobile":"https://m.youtube.com/details?v=75kdIx-9E9E"},"content":{"5":"https://www.youtube.com/v/75kdIx-9E9E?version=3&f=playlists&app=youtube_gdata","1":"rtsp://r8---sn-a5m7zu7r.c.youtube.com/CiULENy73wIaHAnRE70fIx2Z7xMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","6":"rtsp://r8---sn-a5m7zu7r.c.youtube.com/CiULENy73wIaHAnRE70fIx2Z7xMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp"},"duration":848,"rating":5.0,"likeCount":"2","ratingCount":2,"viewCount":2752,"favoriteCount":0,"commentCount":2,"accessControl":{"comment":"allowed","commentVote":"allowed","videoRespond":"moderated","rate":"allowed","embed":"allowed","list":"allowed","autoPlay":"allowed","syndicate":"allowed"}}}]}}

thông qua website này chúng ta có như sau

image

Đối với tôi nó giúp tôi đọc json bằng mắt nhanh hơn.

Advertisements

Phản hồi

Mời bạn điền thông tin vào ô dưới đây hoặc kích vào một biểu tượng để đăng nhập:

WordPress.com Logo

Bạn đang bình luận bằng tài khoản WordPress.com Đăng xuất / Thay đổi )

Twitter picture

Bạn đang bình luận bằng tài khoản Twitter Đăng xuất / Thay đổi )

Facebook photo

Bạn đang bình luận bằng tài khoản Facebook Đăng xuất / Thay đổi )

Google+ photo

Bạn đang bình luận bằng tài khoản Google+ Đăng xuất / Thay đổi )

Connecting to %s