How to access object within a JSON object in Angular 2+?

I am a beginner in Angular. I tried to access this JSON object using console.log(this.selected[0].delivery.shipping_type);. selected is an array and I am trying to show the 0th element of selected. How to access shipping_type within delivery. console.log() returns this error: Cannot read property ‘shipping_type’ of undefined.` selected[0] = { createdAt: “2019-09-20T01:47:27.291Z” delivery.address: “21 Woodlands Crossing,…

how to extract specific data from json and put in to csv using python

image for expected output I have a JSON which is in nested form. I would like to extract specific data from json and put into csv using pandas python. data = { “class”: “hudson.model.Hudson”, “jobs”: [ { “_class”: “hudson.model.FreeStyleProject”, “name”: “git_checkout”, “url”: “http://localhost:8080/job/git_checkout/”, “builds”: [ { “_class”: “hudson.model.FreeStyleBuild”, “duration”: 1201, “number”: 6, “result”: “FAILURE”, “url”:…