"commentPics": [\{ "listPic": \{ "url": "http:\/\/img.cmvideo.cn:8080\/publish\/social\/2022\/6\/24\/1756154c250f475d91663a7a72ebbc46.jpg", "width": 488, "height": 220\ }, "originalPic": \{ "url": "http:\/\/img.cmvideo.cn:8080\/publish\/social\/2022\/6\/24\/f24d1463bcdc480aa0c31dfe51a7d34c.jpg", "width": 2400, "height": 1080\ }\ }] 转成JSONString
时间: 2023-08-21 17:06:09 浏览: 129
{
"commentPics": [
{
"listPic": {
"url": "http://img.cmvideo.cn:8080/publish/social/2022/6/24/1756154c250f475d91663a7a72ebbc46.jpg",
"width": 488,
"height": 220
},
"originalPic": {
"url": "http://img.cmvideo.cn:8080/publish/social/2022/6/24/f24d1463bcdc480aa0c31dfe51a7d34c.jpg",
"width": 2400,
"height": 1080
}
}
]
}
相关问题
"commentPics": [{ "listPic": { "url": "http://img.cmvideo.cn:8080/publish/social/2022/6/24/1756154c250f475d91663a7a72ebbc46.jpg", "width": 488, "height": 220\ }, "originalPic": { "url": "http://img.cmvideo.cn:8080/publish/social/2022/6/24/f24d1463bcdc480aa0c31dfe51a7d34c.jpg", "width": 2400, "height": 1080\ }\ }] 在Postman中 JSONString 的请求写法
在Postman中,可以选择请求类型为POST,并将请求的Body类型设置为JSON。然后,在Body中输入以下内容:
{
"commentPics": [
{
"listPic": {
"url": "http://img.cmvideo.cn:8080/publish/social/2022/6/24/1756154c250f475d91663a7a72ebbc46.jpg",
"width": 488,
"height": 220
},
"originalPic": {
"url": "http://img.cmvideo.cn:8080/publish/social/2022/6/24/f24d1463bcdc480aa0c31dfe51a7d34c.jpg",
"width": 2400,
"height": 1080
}
}
]
}
然后发送请求即可。
阅读全文