jackson兼容性问题
mrjiangxb opened this issue · 1 comments
mrjiangxb commented
com.wechat.pay.contrib.apache.httpclient.notification.NotificationHandler#parseBody
`private Notification parseBody(String body) throws ParseException {
ObjectReader objectReader = objectMapper.reader();
Notification notification;
try {
notification = (Notification)objectReader.readValue(body, Notification.class);
} catch (IOException var5) {
throw new ParseException("解析body失败,body:" + body, var5);
}
this.validateNotification(notification);
this.setDecryptData(notification);
return notification;
}`
objectReader.readValue没有参数是String的重载方法啊,0.4.2版本sdk,你们用的什么版本?
lianup commented
jackson版本为2.12.5。