📌  相关文章
📜  将获取数据转换为 json - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:00.096000             🧑  作者: Mango

代码示例2
fetchJsonp('/users.jsonp')
  .then(function(response) {
    return response.json()
  }).then(function(json) {
    console.log('parsed json', json)
  }).catch(function(ex) {
    console.log('parsing failed', ex)
  })