//I write a code of a json file in visual studio code....
let coll={
"collName" : "pu_vendor",
"collDesc" : "Vendor Master",
"formName" : "syscollection",
"formType" : "CRUD",
"docLevel" : [
{
"level" : 0,
"levelName" : "root",
"levelDesc" : "Vendor Description",
"parent" : "",
"comments" : "",
"fields" : [
{
"fieldName" : "vndrId",
"fieldDesc" : "Vendor ID",
"dataType" : "S",
"size" : 5,
"comments" : ""
}
]
}
]
}
i want to print all values with all keys type of key:value pattern....So i easily print with console.log
console.log(coll);
it shows truely all value by key:value pattern also but when it is comes on the next "fields" key, it prints only the type of this key i.e [Array], it do not show the keys and values of this key