How To Read Json Arrays?
How can I read this json array? I am getting undefined results. What am I doing wrong? = jSON file == // JSON { 'items': [ { 'title': 'welcoem home', 'author': 'Charles D
Solution 1:
$.each(data, function(entryIndex, entry) {
You can't run each
on data
as it is not an array. I think what you want is
$.each(data.items, function(entryIndex, entry) {
Post a Comment for "How To Read Json Arrays?"