I'm supposed to read certain data from a JSON file :
I'm able to print the correct value for :
console.log('data1 ' + data.entry[0].id);
console.log('data2 ' + data.entry[0].content.properties.yyn);
However, I want to find the length of the properties instead of reading each entity inside properties. I tried:
console.log('data2 ' + data.entry[0].content.properties.length);
It did not work!