I have 26 json files from an open source (which have meanings for words)
They are named , a.json,b.json,c.json........z.json
I am looking for a suggestion on how can i store this data in DataBase (MySQL) using flask sql alchemy /pythonic way such that the the data is as:
{
"a cappella": {
"word": "a cappella",
"wordset_id": "5feb6f679a",
"meanings": [
{
"id": "492099d426",
"def": "without musical accompaniment",
"example": "they performed a cappella",
"speech_part": "adverb"
},
{
"id": "0bf8d49e2e",
"def": "sung without instrumental accompaniment",
"example": "they sang an a cappella Mass",
"speech_part": "adjective"
}
]
},
"A.D.": {
"word": "A.D.",
"wordset_id": "b7e9d406a0",
"meanings": [
{
"id": "a7482f3e30",
"def": "in the Christian era",
"speech_part": "adverb",
"synonyms": [
"AD"
]
}
]
},.........
}
Is the idea of having a single table for whole data holds good or a table for each json file ?
Any guiding links would be much helpful, TIA