json array

by Akram kamal

JavaScript

var json = [
    [{
        "article_id": 1,
            "article_title": "test",
            "article_content": "test1"
    }, {
        "article_id": 2,
            "article_title": "test2",
            "article_content": "this is a second test article"
    }]
];



$.each(json[0], function (arrayID, group) {
    console.log(group.article_id);
});