FullFact / health-misinfo-shared

Raphael health misinformation project, shared by Full Fact and Google
MIT License
0 stars 0 forks source link

116 improve json parsing of generated output #117

Closed dearden closed 1 month ago

dearden commented 1 month ago

Fixes #116 .

Improves the JSON parsing, notably fixing a couple of noted bugs:

It now falls back to trying to read the string as a python dictionary if json reading fails. If this is a bad idea, do say.


Pull request checklist