ECLK / ECLK/Results-Dist

The JSON file is corrupted

Open
#181 0 comments 0 reactions 0 assignees View on GitHub
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.

![image](https://user-images.githubusercontent.com/893180/89512110-654eb000-d7f0-11ea-8af8-4143c38d5667.png)

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.