Get Json data in jQuery

后端 未结 4 2079
温柔的废话
温柔的废话 2021-01-28 23:50

There is not a single clear example that explains how to pull json data as simple as possible. I have a valid json and I need to retrieve it with jQuery

my json output i

4条回答
  •  死守一世寂寞
    2021-01-29 00:22

    Try This

    var items = test.items;
    $.each(items,function(index,items){
        console.log(items.title); /// and items.date
    })
    

提交回复
热议问题