我将如何去接收一个 JSON 文件被发布到服务器并处理它足够远它可以输入到 MySQL 数据库
下面是应该发送到服务器的 JSON 示例,
{"messages":[{
"messageId": "9ebd1279-d232-49a6-b074-b43b48b8332c",
"userFromId": 1,
"scope": 0,
"messageContent": "hello 123\r\n",
"messageSentDate": 1363090081570,
"messageRecievedDate": 0,
"messageReadDate": 0,
"messageLastModified": 0,
"readReceiptRequired": false
},{
"messageId": "c7b6005a-e493-4074-86bd-6b6462ea3f48",
"userFromId": 1,
"scope": 1,
"messageContent": "hello ",
"messageSentDate": 1363084238352,
"messageRecievedDate": 0,
"messageReadDate": 0,
"messageLastModified": 0,
"readReceiptRequired": false
}]}