javascript - Json - get specific field -


i need field source json solution not working !!

this json:

"trailers":{       "quicktime":[],       "youtube":[{                  "name":"bandeannonce",                  "size":"hd",                  "source":"rqeuam9fsrg",                  "type":"trailer"                 }]  } 

i try source :var link_trailer = data.trailers[0].youtube[0].source; not working me !!

trailers object, don't need use index.

var link_trailer = json.parse(data).trailers.youtube[0].source;


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -