我想有我MongoDB的文档在这个结构中的MongoDB多个JSON元素...插入使用Java
{
"_id" : ObjectId("578f547790ee5304306404ea"),
"status" : " que faire?",
"Likes" : 0,
"created_at" : ISODate("2016-07-20T08:49:39Z"),
"UniqueID" : "456511553",
"screen_name" : "xtraloveable1",
"Name" : "AmirGloir&Beauté",
"lang" : "fr",
"statuses_count" : 2914,
"friends_count" : 41,
"followers_count" : 47,
"Description" : "Je pense donc je twitte...",
"locationGEO" : "38000",
"Timezone" : null,
"Hashtags" : [ ],
"User_Mention" : [
"CouponNetworkFR"
],
retweeted_status[
{
"text":"sdfsjfksdf",
"date":"ISODate("2016-07-20T08:49:39Z")",
"lang":"fr"
}
]}
我尝试,直到user_mention但我有一个问题,在创建“retweeted_status”阵列。 这些信息是从推文中提取的(json格式) Git文件附在这里Code Here 请帮我解决这个问题。
问题是什么? – Backtrack
它以这种格式插入“Retweeted_status”:[ “status:#Damasco ha l'audio”“ ”created_at:Tue Sep 27 23:09:45 BST 2016“, ”lang:fr“ ]正确的一个 – prabhu