I am trying to access a JSON response data from the github job posting API. Here is the JSON response structure:
[
{"id":"1", "title":"gameon"},
{"id":"2", "title":"hardlife"},
{"id":"3", "title":"lotsofbugs"}
]
I have been crazy finding solutions accessing id and title. I tried several ways like (assuming the response is stored in a JS variable named jsonResponse) this:
jsonResponse[0][1]["title"]
and even something like
jsonResponse[1]["title"]
but everything seems to not work at all. I want to access each id and title for every part of the response but I cannot find a way. I use to alert everything while testing it if I could access it. Everything it says is undefined whenever I try to access the JSON response data. Can someone please help me?


jsonResponse[0].title,jsonResponse[0].id,jsonResponse[1]["title"]is also fine.jsonResponse[1]['title']) should work fine. Have you checked the console to ensure that you have no errors in your code, and that the request completes successfully?