所以我有很多从 Facebook API 返回的 JSON 对象,其中之一如下所示。
{
"_id": ObjectId("503ded9103c4b72fef12aa2f"),
"from": {
"category": "Company",
"name": "Fortis Healthcare",
"id": "165708715950"
},
"pid": "165708715950_377424172280794",
"like_count": NumberInt(0),
"can_remove": false,
"created_time": "2012-04-02T09:58:48+0000",
"message": "For academic info check out http:\/\/www.fortishospitals.com\/about-fortis-hospitals\/academic-initiatives.html",
"id": "165708715950_377424172280794_4682416",
"user_likes": false
}
我需要在这里做的是,我需要将属于他们月份的所有日期分组,并从这些对象中提取“消息”参数。如何对这些月份的日期进行分组?