I'm working with api from youtube and a query returns the json below. How do I get and print each item separately? For example I want to print each "videoId". How do I do?
{
"kind": "youtube#activityListResponse",
"etag": "\"I_8xdZu766_FSaexEaDXTIfEWc0/oqpVLfMmbzY_6j3oThpHVqTWBFU\"",
"nextPageToken": "CAUQAA",
"pageInfo": {
"totalResults": 19,
"resultsPerPage": 5
},
"items": [
{
"kind": "youtube#activity",
"etag": "\"I_8xdZu766_FSaexEaDXTIfEWc0/dEwBoeecvF1DxUljodxRGtUsS_I\"",
"id": "VTE0NzQ3NDkwMDExNDAxMjU5MzQzMzU1MDQ=",
"contentDetails": {
"upload": {
"videoId": "H0fujYAi_qc"
}
}
},
{
"kind": "youtube#activity",
"etag": "\"I_8xdZu766_FSaexEaDXTIfEWc0/yZ6GjvR50A58SJxa_k7ATKpuoyY\"",
"id": "QlVMMTQ3NDc0OTAwMTE0MDEyNTkzNDMzNzc0NA==",
"contentDetails": {
"bulletin": {
"resourceId": {
"kind": "youtube#video",
"videoId": "H0fujYAi_qc"
}
}
}
},
{
"kind": "youtube#activity",
"etag": "\"I_8xdZu766_FSaexEaDXTIfEWc0/S4iTb5HgOBL_i1Wz57Yf-FT8Jn0\"",
"id": "VTE0NzQ3MjgzOTYxNDAxMjU5MzQzMzY5NzY=",
"contentDetails": {
"upload": {
"videoId": "DrAsh8EfH7I"
}
}
}
]
}