Ergebnis 1 bis 4 von 4
  1. #1
    mathe0097 ist offline Grünschnabel
    registriert
    14-10-2015
    Beiträge
    1

    Wie stelle ich eine JSON Ausgabe in einer Tabelle dar?

    Hey Leute, ich bin total verzweifelt. ich habe mit hilfe von OpenLigaDB folgende Ausgabe erhalten:

    Code:
    [{"matchID":33342,"matchDateTime":new Date(1445020200000),"TimeZoneID":"W. Europe Standard Time","matchDateTimeUTC":new Date(1445020200000),"groupID":17758,"groupOrderID":9,"groupName":"9. Spieltag","leagueID":848,"leagueName":"1. Fußball-Bundesliga 2015/2016","leagueSaison":"2015","leagueShortcut":"bl1","nameTeam1":"1. FSV Mainz 05","nameTeam2":"Borussia Dortmund","idTeam1":81,"idTeam2":7,"iconUrlTeam1":"http://www.openligadb.de/images/teamicons/1_FSV_Mainz_05.gif","iconUrlTeam2":"http://www.openligadb.de/images/teamicons/Borussia_Dortmund.gif","pointsTeam1":-1,"pointsTeam2":-1,"lastUpdate":new Date(1441193976757),"matchIsFinished":false,"matchResults":[],"goals":[],"location":{"locationID":0,"locationCity":null,"locationStadium":null},"NumberOfViewers":null},{"matchID":33334,"matchDateTime":new Date(1445088600000),"TimeZoneID":"W. Europe Standard Time","matchDateTimeUTC":new Date(1445088600000),"groupID":17758,"groupOrderID":9,"groupName":"9. Spieltag","leagueID":848,"leagueName":"1. Fußball-Bundesliga 2015/2016","leagueSaison":"2015","leagueShortcut":"bl1","nameTeam1":"FC Schalke 04","nameTeam2":"Hertha BSC","idTeam1":9,"idTeam2":54,"iconUrlTeam1":"http://www.openligadb.de/images/teamicons/FC_Schalke_04.gif","iconUrlTeam2":"http://www.openligadb.de/images/teamicons/Hertha_BSC.gif","pointsTeam1":-1,"pointsTeam2":-1,"lastUpdate":new Date(1444814210900),"matchIsFinished":false,"matchResults":[],"goals":[],"location":{"locationID":403,"locationCity":"Gelsenkirchen","locationStadium":"Veltins-Arena"},"NumberOfViewers":null},{"matchID":33335,"matchDateTime":new Date(1445088600000),"TimeZoneID":"W. Europe Standard Time","matchDateTimeUTC":new Date(1445088600000),"groupID":17758,"groupOrderID":9,"groupName":"9. Spieltag","leagueID":848,"leagueName":"1. Fußball-Bundesliga 2015/2016","leagueSaison":"2015","leagueShortcut":"bl1","nameTeam1":"VfL Wolfsburg","nameTeam2":"TSG 1899 Hoffenheim","idTeam1":131,"idTeam2":123,"iconUrlTeam1":"http://www.openligadb.de/images/teamicons/VfL_Wolfsburg.gif","iconUrlTeam2":"http://www.openligadb.de/images/teamicons/TSG_Hoffenheim.gif","pointsTeam1":-1,"pointsTeam2":-1,"lastUpdate":new Date(1435590503680),"matchIsFinished":false,"matchResults":[],"goals":[],"location":{"locationID":0,"locationCity":null,"locationStadium":null},"NumberOfViewers":null},{"matchID":33336,"matchDateTime":new Date(1445088600000),"TimeZoneID":"W. Europe Standard Time","matchDateTimeUTC":new Date(1445088600000),"groupID":17758,"groupOrderID":9,"groupName":"9. Spieltag","leagueID":848,"leagueName":"1. Fußball-Bundesliga 2015/2016","leagueSaison":"2015","leagueShortcut":"bl1","nameTeam1":"Hamburger SV","nameTeam2":"Bayer 04 Leverkusen","idTeam1":100,"idTeam2":6,"iconUrlTeam1":"http://www.openligadb.de/images/teamicons/Hamburger_SV.gif","iconUrlTeam2":"http://www.openligadb.de/images/teamicons/Bayer_Leverkusen.gif","pointsTeam1":-1,"pointsTeam2":-1,"lastUpdate":new Date(1435590525730),"matchIsFinished":false,"matchResults":[],"goals":[],"location":{"locationID":0,"locationCity":null,"locationStadium":null},"NumberOfViewers":null},{"matchID":33338,"matchDateTime":new Date(1445088600000),"TimeZoneID":"W. Europe Standard Time","matchDateTimeUTC":new Date(1445088600000),"groupID":17758,"groupOrderID":9,"groupName":"9. Spieltag","leagueID":848,"leagueName":"1. Fußball-Bundesliga 2015/2016","leagueSaison":"2015","leagueShortcut":"bl1","nameTeam1":"FC Augsburg","nameTeam2":"SV Darmstadt 98","idTeam1":95,"idTeam2":118,"iconUrlTeam1":"http://www.openligadb.de/images/teamicons/FC_Augsburg.gif","iconUrlTeam2":"http://www.openligadb.de/images/teamicons/SV_Darmstadt_98.gif","pointsTeam1":-1,"pointsTeam2":-1,"lastUpdate":new Date(1435590558013),"matchIsFinished":false,"matchResults":[],"goals":[],"location":{"locationID":0,"locationCity":null,"locationStadium":null},"NumberOfViewers":null},{"matchID":33339,"matchDateTime":new Date(1445088600000),"TimeZoneID":"W. Europe Standard Time","matchDateTimeUTC":new Date(1445088600000),"groupID":17758,"groupOrderID":9,"groupName":"9. Spieltag","leagueID":848,"leagueName":"1. Fußball-Bundesliga 2015/2016","leagueSaison":"2015","leagueShortcut":"bl1","nameTeam1":"Werder Bremen","nameTeam2":"Bayern München","idTeam1":134,"idTeam2":40,"iconUrlTeam1":"http://www.openligadb.de/images/teamicons/werder_bremen.gif","iconUrlTeam2":"http://www.openligadb.de/images/teamicons/Bayern_Muenchen.gif","pointsTeam1":-1,"pointsTeam2":-1,"lastUpdate":new Date(1435590574600),"matchIsFinished":false,"matchResults":[],"goals":[],"location":{"locationID":0,"locationCity":null,"locationStadium":null},"NumberOfViewers":null},{"matchID":33340,"matchDateTime":new Date(1445099400000),"TimeZoneID":"W. Europe Standard Time","matchDateTimeUTC":new Date(1445099400000),"groupID":17758,"groupOrderID":9,"groupName":"9. Spieltag","leagueID":848,"leagueName":"1. Fußball-Bundesliga 2015/2016","leagueSaison":"2015","leagueShortcut":"bl1","nameTeam1":"Eintracht Frankfurt","nameTeam2":"Borussia Mönchengladbach","idTeam1":91,"idTeam2":87,"iconUrlTeam1":"http://www.openligadb.de/images/teamicons/Eintracht_Frankfurt.gif","iconUrlTeam2":"http://www.openligadb.de/images/teamicons/Bor_Moenchengladbach.gif","pointsTeam1":-1,"pointsTeam2":-1,"lastUpdate":new Date(1441193991817),"matchIsFinished":false,"matchResults":[],"goals":[],"location":{"locationID":0,"locationCity":null,"locationStadium":null},"NumberOfViewers":null},{"matchID":33341,"matchDateTime":new Date(1445175000000),"TimeZoneID":"W. Europe Standard Time","matchDateTimeUTC":new Date(1445175000000),"groupID":17758,"groupOrderID":9,"groupName":"9. Spieltag","leagueID":848,"leagueName":"1. Fußball-Bundesliga 2015/2016","leagueSaison":"2015","leagueShortcut":"bl1","nameTeam1":"1. FC Köln","nameTeam2":"Hannover 96","idTeam1":65,"idTeam2":55,"iconUrlTeam1":"http://www.openligadb.de/images/teamicons/1_FC_Koeln.gif","iconUrlTeam2":"http://www.openligadb.de/images/teamicons/Hannover_96.gif","pointsTeam1":-1,"pointsTeam2":-1,"lastUpdate":new Date(1441194002463),"matchIsFinished":false,"matchResults":[],"goals":[],"location":{"locationID":0,"locationCity":null,"locationStadium":null},"NumberOfViewers":null},{"matchID":33337,"matchDateTime":new Date(1445182200000),"TimeZoneID":"W. Europe Standard Time","matchDateTimeUTC":new Date(1445182200000),"groupID":17758,"groupOrderID":9,"groupName":"9. Spieltag","leagueID":848,"leagueName":"1. Fußball-Bundesliga 2015/2016","leagueSaison":"2015","leagueShortcut":"bl1","nameTeam1":"VfB Stuttgart","nameTeam2":"FC Ingolstadt 04","idTeam1":16,"idTeam2":171,"iconUrlTeam1":"http://www.openligadb.de/images/teamicons/VfB_Stuttgart.gif","iconUrlTeam2":"http://upload.wikimedia.org/wikipedia/de/thumb/5/55/FC-Ingolstadt_logo.svg/20px-FC-Ingolstadt_logo.svg.png","pointsTeam1":-1,"pointsTeam2":-1,"lastUpdate":new Date(1441194012353),"matchIsFinished":false,"matchResults":[],"goals":[],"location":{"locationID":0,"locationCity":null,"locationStadium":null},"NumberOfViewers":null}]
    Meine Frage: Wie kann ich das in eine Tabelle umwandeln? Könnt ihr mir dabei bitte helfen?

    VIELEN DANK!
    Geändert von mikdoe (14-10-2015 um 13:08 Uhr) Grund: code tags

  2. #2
    Avatar von mikdoe
    mikdoe ist offline Administrator
    registriert
    01-05-2010
    Beiträge
    7.625

    AW: Wie stelle ich eine JSON Ausgabe in einer Tabelle dar?

    *freigeschaltet*

    @mathe: bitte nicht doppelt posten und auszeichnungstags nutzen.
    Das deutsche Javascript Forum http://forum.jswelt.de http://forum.jswelt.de/images/logoJsWeltForumV4_32x22.png
    Sorry wenn ich manchmal ohne Hallo und nur klein schreibe! Dann bin ich nicht unfreundlich sondern mit nervigem kleinem Touch Tablet zugange

  3. #3
    Avatar von mikdoe
    mikdoe ist offline Administrator
    registriert
    01-05-2010
    Beiträge
    7.625

    AW: Wie stelle ich eine JSON Ausgabe in einer Tabelle dar?

    wieviel js kannst du denn?
    Das deutsche Javascript Forum http://forum.jswelt.de http://forum.jswelt.de/images/logoJsWeltForumV4_32x22.png
    Sorry wenn ich manchmal ohne Hallo und nur klein schreibe! Dann bin ich nicht unfreundlich sondern mit nervigem kleinem Touch Tablet zugange

  4. #4
    Avatar von kkapsner
    kkapsner ist offline Super Moderator
    registriert
    28-03-2008
    Beiträge
    17.672

    AW: Wie stelle ich eine JSON Ausgabe in einer Tabelle dar?

    Was hast du denn schon probiert?

Ähnliche Themen

  1. PHP - JSON keine ausgabe
    Von Transformator im Forum Serverseitige Programmierung
    Antworten: 15
    Letzter Beitrag: 20-10-2014, 07:46
  2. Antworten: 6
    Letzter Beitrag: 21-05-2008, 12:34
  3. Spalten einer Tabelle eine FIXE Größe geben
    Von Gawan im Forum Allgemeines
    Antworten: 6
    Letzter Beitrag: 20-09-2006, 12:51
  4. Antworten: 1
    Letzter Beitrag: 30-12-2000, 22:55

Stichworte

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •