I have this type of JSON data
I have written the code to eliminate duplicate records in JQuery
function GetUniqueTablesCategory(Data) {
var UniqueNames = $.unique(Data, function(d) {
return d.TableName;
});
return UniqueNames;
}
But I am getting this error below, can anyone please help me out to eliminate this issue.