Check the error message from teh json object and bind teh content to UI

Check the error message from teh json object and bind teh content to UI

by Udhay

JavaScript

var json =[
{activity: 'u01a1', competency: 'object ot found', criteria: 'object ot found', competencyOrder: 'order is missing', criteriaOrder: 'order is missing'},
{activity: 'u02a2',perFormaceLevel: 'object ot found', criteria: 'object ot found', competencyOrder: 'order is missing', criteriaOrder: 'order is missing'},
{activity: 'u03a3',competency: 'object ot found', criteria: 'object ot found', competencyOrder: 'order is missing', criteriaOrder: 'order is missing'},
];

var alignedArray = [];

var getfilteredObj = json.forEach(function(object){
debugger;
	if(json[key] == 'object ot found') {
  		alignedArray.push()
  }
		
});

console.log(json);