The issue affects all columns that contain Python dictionaries stored via the str() method.
So for sure the leadershipSkills column and purchaseUrls are affected.
This is a valid string version of Python's native dict type but is not useful outside of ptyhon.
Given that any language can interact with an SQLite file, but not all of them can decode Pythong dicts - this is sad. 😿
To fix this it will now json.dumps the dict into a valid JSON syntax object.
This change will fully fix #66
The issue affects all columns that contain Python dictionaries stored via the
str()
method. So for sure theleadershipSkills
column andpurchaseUrls
are affected.This currently has data like:
This is a valid string version of Python's native
dict
type but is not useful outside of ptyhon. Given that any language can interact with an SQLite file, but not all of them can decode Pythong dicts - this is sad. 😿 To fix this it will nowjson.dumps
the dict into a valid JSON syntax object.The after effect is:
Happy JSON is happy 😸
The great thing about this PR is that it has the bonus effect of fixing the CSVs as well. As of RN, the CSVs also would look like:
However after the fix they look like:
This is important since both Excel and Google Sheets will support JSON methods, but don't support python dicts.