BurntSushi / nflgame

An API to retrieve and read NFL Game Center JSON data. It can work with real-time data, which can be used for fantasy football.
http://pdoc.burntsushi.net/nflgame
The Unlicense
1.27k stars 412 forks source link

try to auto fix common error (extra } in the end) #345

Open cyga opened 6 years ago

cyga commented 6 years ago

I experienced and found number of issues on the topic: https://github.com/BurntSushi/nfldb/issues/251 https://github.com/BurntSushi/nfldb/issues/187

I want to automatize the process as much as possible. So, whenever json parsing fails I try to reduce ending "}" and re-try.