The JSON file is corrupted
- Dominant language
- Ballerina
- Stars
- 13
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
I am not sure if this is the correct place to open this particular issue. But I am watching the Election Commission's site and I think the JSON file (_Titled as_ **gen_elec_sl.ec.results.2020.json**) it is trying to read from is corrupted as of now.
Please check the attached image and you can see some characters are missing at the beginning of the file. Probably the service that builds this JSON file doesn't escape the string?
Just speculating.

Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the named file, gen_elec_sl.ec.results.2020.json, and compare its beginning with the attached image. Trace the service that generates the file and validate the output with a JSON parser; the issue is done when the generated file is valid JSON and the site can read it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- json
- Domain
- backend, data
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 18/100