I am parsing JSON data and property name is unknown. I am sharing my code please tell me how can i get all data with unknown property
datas.data.videoGroup.past
after that please use a loop
$.each(datas.data.videoGroup.past.Algebra, function(i, v) {
var hash5 = v.id;
var link = hash5;
var tblRows = "<tr>" + "<td>" + v.title + "</td>" + "<td>" + 2 + ' ₹' + "</td>" + "<td><a target='_blank' href='" + link + "'>" + "WATCH/DOWNLOAD" + "</a></td>" + "</tr>";
$(tblRows).appendTo("#userdata");
});
$.each(datas.data.videoGroup.past["Number System"], function(i, v) {
I put Number System
and Algebra
manually but i can't do it with each subject and for each teacher.