Ich möchte Javascript einige Daten aus JSON-Datei holenfinden Daten in JSON-Daten in Javascript
ich json Daten wie dieses:
var bib = {
"AnthesGarcia-HernandezEtAl2016": {
"author": "C. Anthes and R. J. Garcia-Hernandez and M. Wiedemann and D. Kranzlmuller",
"booktitle": "2016 IEEE Aerospace Conference",
"doi": "10.1109/AERO.2016.7500674",
"file": "AnthesGarcia-HernandezEtAl2016.pdf:AnthesGarcia-HernandezEtAl2016.pdf:PDF",
"keywords": "virtual reality, survey, aerospace",
},
"Bastos2014": {
"author": "Bastos, Ricardo S",
"file": "Bastos2014.pdf:Bastos2014.pdf:PDF",
"institution": "DTIC Document",
"keywords": "maritime, military, submarine, training, simulator, virtual reality, web, webgl, navy"
},
"Baum1994": {
"author": "Baum, David R",
"keywords": "patent, virtual reality, gestures, aviation, training, head-mounted-display, HMD, gloves",
}
wie kann ich Daten wie diese in js holen:
var keywords = {
"keywords-name": { // keywords-name as example : virtual reality
"repeat": "??"
},
"keywords-name2": {
"repeat": "??"
},
"keywords-name3": {
"repeat": "??"
}, ...
ich weiß nicht, wie dies in Javascript zu tun ..
Es ist unklar, was Sie wollen. Was möchten Sie von der Ausgabe? – evolutionxbox