-1

问题描述

JSON解析错误 videoUrl的值 去掉mp4后面的就能够解析
{

"msg": "JSON parse error: Unexpected end-of-input: expected close marker for Object (start marker at [Source: java.io.PushbackInputStream@115cb660; line: 1, column: 1]); nested exception is com.fasterxml.jackson.core.io.JsonEOFException: Unexpected end-of-input: expected close marker for Object (start marker at [Source: java.io.PushbackInputStream@115cb660; line: 1, column: 1])\n at [Source: java.io.PushbackInputStream@115cb660; line: 25, column: 1783]",
"code": 1,
"data": null

}

问题出现的环境背景及自己尝试过哪些方法

相关代码

// 请把代码文本粘贴到下方(请勿用图片代替代码)

{

"userId": 1260012,
"videoUrl": "http://upos-hz-mirrorcos.acgvideo.com/upgcxcode/03/80/62398003/62398003-1-6.mp4?um_deadline=1549959504&platform=html5&rate=72500&oi=1947607692&um_sign=a6dfdafe6d9789fcc83cb30f47ec5a45&gen=playurl&os=cos&trid=d7580914a8254ff38e0ed80a913b207a",
"title": "AAA视频异步检测",
"uploadTime": "2019-01-16T03:22:23.000+0000",
"city": null,
"coverUrl": "http://192.168.0.236/gx/fs/group1/M00/00/03/wKgA7Fw9SNiACNlYAAyn4hIB1ck398.png",
"pageShareCoverUrl": null,
"qqVideoId": null,
"lng": null,
"lat": null,
"playNum": 0,
"followNum": 0,
"commentNum": 0,
"forwardNum": 0,
"geohash": null,
"isHot": 0,
"sort": 0,
"temporarySort": 0,
"duration": 83,
"status": 0,
"isAcross": 0,
"recommend": 0,
"type": 0,
"videoChannelId": null,
"videoTopicId": null

}

你期待的结果是什么?实际看到的错误信息又是什么?

Demo_o 0
4 天前提问
1 个回答
0

代码

版本
你这么提问是等着别人猜吗?

撰写答案

你可能感兴趣的

推广链接