Here is an example of JSON data that I am working with:
{"0":{"access_token":"ya29.MgCIagT8PCpkRSIAAAAl-XYEA37OjX_GBAv4so6qv0Gowc5XD3Bp6MuwYAPmnNuwgz7ElXsRwXqGWL4aZpA","token_type":"Bearer","expires_in":"3600","scope":"https://www.googleapis.com/auth/plus.login https://www.googleapis.com/auth/plus.moments.write https://www.googleapis.com/auth/plus.me https://www.googleapis.com/auth/plus.profile.agerange.read https://www.googleapis.com/auth/plus.profile.language.read https://www.googleapis.com/auth/plus.circles.members.read","id_token":"eyJhbGciOiJSUzI1NiIsImtpZCI6IjRiMTEyMDUxY2M3ZmJmZWI0MmI3OWU0OWVkNDIwYTQ2Yjk1YTkwYTQifQ.eyJpc3MiOiJhY2NvdW50cy5nb29nbGUuY29tIiwic3ViIjoiMTE1NTIzMTUwNzczOTI1MTk0ODE4IiwiYXpwIjoiMTUwNDU0MzcwMTUxLWM4aGFubnV0NXE0cWhrNzM3bTB0MGVpNjBnM29zcjlhLmFwcHMuZ29vZ2xldXNlcmNvbnRlbnQuY29tIiwiYXRfaGFzaCI6IkszS1UyNjRBY3QxeWh...
However, when I try to retrieve the value using obj.access_token
, it returns "undefined".