Làm cách nào để truy cập tên của một mục trong một đối tượng Literal bằng jQuery?Truy cập jQuery đối tượng JSON
Ví dụ làm thế nào tôi sẽ đọc "title", "liên kết", "phương tiện truyền thông", vv ... trong này
{
"title": "What we do in our free time...",
"link": "http://www.flickr.com/photos/tnhimmies/4042938515/",
"media": {"m":"http://farm3.static.flickr.com/2572/4042938515_3a00561320_m.jpg"},
"date_taken": "2009-10-24T03:48:10-08:00",
"description": "<p><a href=\"http://www.flickr.com/people/tnhimmies/\">Darlene, TN Persians (www.tnpurrs.com)<\/a> posted a photo:<\/p> <p><a href=\"http://www.flickr.com/photos/tnhimmies/4042938515/\" title=\"What we do in our free time...\"><img src=\"http://farm3.static.flickr.com/2572/4042938515_3a00561320_m.jpg\" width=\"240\" height=\"230\" alt=\"What we do in our free time...\" /><\/a><\/p> <p>Tennessee Persians<br /> <a href=\"http://www.tnpurrs.com\" rel=\"nofollow\">www.tnpurrs.com<\/a><\/p>",
"published": "2009-10-25T18:28:36Z",
"author": "[email protected] (Darlene, TN Persians (www.tnpurrs.com))",
"author_id": "[email protected]",
"tags": "cat persian tnpurrs"
},
BTW, nó không phải là một mảng kết hợp * * là một * Object Literal * http://is.gd/4BdvZ – CMS