有效载荷发送到 getStream.io 服务器
{
"feed": {
"actor": 1986,
"created_at": 1455690430,
"foreign_id": "1986",
"object": {
"full_name": "Harsewak Singh",
"login": "harsewak",
"pic_url": "https:\/\/qbapi.dekhdekh.com\/blobs\/b6e113a29bb34905a14a520917f6da0a00",
"user": 1986
},
"post": {
"created_at": 1455690430,
"message": "Hey! How's everyone?",
"type": "text"
},
"to": ["flat:global"],
"verb": "post"
},
"feed_type": "flat",
"user_id": 1986
}
但是当返回数据时,对象的值与发送的不同
如下
"object":
"{u'login': u'harsewak', u'pic_url': u'https://qbapi.dekhdekh.com/blobs/b6e113a29bb34905a14a520917f6da0a00', u'full_name': u'Harsewak Singh', u'user': 1986}"
问:为什么在替换双引号(“登录”)后添加 u' 作为响应?