how to display this type of array of json having sub array of json in the form of table in javascript code example Example: json arrays { "array": [{1,2,3,4,5,6}] }