提取信息如何提取ID,喜歡的名稱,類別,從這個josn文件CREATED_TIME,它來自Facebook的圖形API從JSON
{
"rows" : [
{
"id" : "145907652175534",
"interests" : "{\"likes\":150319,\"id\":\"145907652175534\"}",
"name" : "The Lion, the Witch and the Wardrobe",
"category" : "Book",
"created_time" : "2013-12-19T16:15:01+0000"
},
{
"id" : "190616700999052",
"interests" : "{\"likes\":1027992,\"id\":\"190616700999052\"}",
"name" : "C. S. Lewis",
"category" : "Author",
"created_time" : "2013-12-19T16:14:47+0000"
},
{
"id" : "577324418996792",
"interests" : "{\"likes\":1672,\"id\":\"577324418996792\"}",
"name" : "Big Data",
"category" : "Community",
"created_time" : "2013-12-19T16:14:38+0000"
},
{
"id" : "134488303306371",
"interests" : "{\"likes\":5718,\"id\":\"134488303306371\"}",
"name" : "Big Data University",
"category" : "Computers/internet website",
"created_time" : "2013-12-19T16:14:21+0000"
}
]
}
還有,你試過這麼遠嗎?你用'csv'標記了這個,你是否想創建一個帶有這些信息的CSV文件? –
是的。我想要有五列(id,likes,name,category,created_time)。請幫忙!謝謝! – user3103778