Question My dedicated server just uploaded JSON race results....

Discussion in 'Community Support' started by Chris Sercombe, May 11, 2017.

  1. Chris Sercombe

    Chris Sercombe New Member

    Joined:
    Jan 29, 2015
    Ratings:
    +0 / 0 / -0
    My dedicated server just uploaded JSON race results, but when i click on file all i see is below, is that it, or is there meant to be a program that shows it properly, as it looks all mumbled and even times not right etc, i thought it would show like a webpage for drivers to see after the race if i give them link.

    {"Server":"Daytrader's Practice Server","Time":"\/Date(1494532523436)\/","Experience":"RaceRoom Experience","Difficulty":"GetReal","FuelUsage":"Off","TireWear":"Off","MechanicalDamage":"Off","FlagRules":"All","CutRules":"Off","WreckerPrevention":"Off","MandatoryPitstop":"Off","Track":"Anderstorp","TrackLayout":"South","Sessions":[{"Type":"Practice","Players":[{"FullName":"Chris Sercombe","Username":"Daytrader","Car":"Audi TT cup 2015","Position":1,"BestLapTime":-1000,"TotalTime":-1,"FinishStatus":"Finished","RaceSessionLaps":[]}]},{"Type":"Qualify","Players":[{"FullName":"Chris Sercombe","Username":"Daytrader","Car":"Audi TT cup 2015","Position":1,"BestLapTime":57015,"TotalTime":-1,"FinishStatus":"Finished","RaceSessionLaps":[{"Time":-1000,"Position":1,"PitStopOccured":false}]}]},{"Type":"Race","Players":[{"FullName":"Chris Sercombe","Username":"Daytrader","Car":"Audi TT cup 2015","Position":1,"BestLapTime":57395,"TotalTime":310755,"FinishStatus":"Finished","RaceSessionLaps":[{"Time":115278,"Position":1,"PitStopOccured":false},{"Time":57395,"Position":1,"PitStopOccured":false},{"Time":138080,"Position":1,"PitStopOccured":false}]}]},{"Type":"Race2","Players":[{"FullName":"Chris Sercombe","Username":"Daytrader","Car":"Audi TT cup 2015","Position":1,"BestLapTime":108925,"TotalTime":304362,"FinishStatus":"Finished","RaceSessionLaps":[{"Time":195436,"Position":1,"PitStopOccured":false},{"Time":108925,"Position":1,"PitStopOccured":false}]}]},{"Type":"Race3","Players":[{"FullName":"Chris Sercombe","Username":"Daytrader","Car":"Audi TT cup 2015","Position":1,"BestLapTime":61938,"TotalTime":306067,"FinishStatus":"Finished","RaceSessionLaps":[{"Time":61938,"Position":1,"PitStopOccured":false},{"Time":244129,"Position":1,"PitStopOccured":false}]}]}]}
     
  2. Kevin Baird

    Kevin Baird Member

    Joined:
    Jan 31, 2017
    Ratings:
    +10 / 0 / -0
    You can add a JSON viewer to your browser which will show a more readable format, but in order to show the results on a website you'd need to parse the data to a webserver.
    Regards
     
  3. Chris Sercombe

    Chris Sercombe New Member

    Joined:
    Jan 29, 2015
    Ratings:
    +0 / 0 / -0
    Ok, bit beyond me i think, a guy on another thread gave me a good link to a website that you upload json file to, and it displays good, cheers
     
  4. zoey8

    zoey8 New Member

    Joined:
    Sep 6, 2017
    Ratings:
    +0 / 0 / -0
    You can edit, parse, format, and validate JSON
     
  5. Vojvoda

    Vojvoda Well-Known Member

    Joined:
    Jan 31, 2015
    Ratings:
    +145 / 0 / -0
    If you only want a race resuls try with www.simresults.net, btw @tosti is working in a web for champ results.