当我点击网址时,我得到了json中的respose
[{"action":"rs","version":"5","productCatalogName":"tet","productId":"1252","price":"1.5","operator_Code":"15252"}]
我正在使用对象映射器从url读取响应并将其存储到对象
中eventProductDetail = objectMapper.readValue(url,
new TypeReference<EventProductDetail>() {
});
我得到了例外:
Exception ing etProductDetails com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'http': was expecting ('true', 'false' or 'null')