console.log (articles[0].title);
console.log (articles[0].media[0].copyright);
->this works!
but all 3 bracket notation below does not! Obvious mistake?? I need to access "media-metadata" and because of special character is need brackets right? Its explained everywhere and seem straighforward but then I have no idea why it is not working.
console.log (articles[0].media[0].['media-metadata']);
console.log (articles.[0]['media'][0]);
console.log (['articles'][0]['media'][0]['media-metadata'][0]['url'][2]);
thanks for help !
json is copyrighted and complicated, but i checked the hierarchies over and over.