This excel file was converted to json, but using pandas library in python it performs the conversion column wise and showed up like this. I want it to show up in the following format:
{"peopleInfo": [
{
"Name": "John",
"UserId": "39048",
"FavoriteWords": [
{
"word": "Sincerity",
"wordInfo": [
{
"meaning": "the quality or state of being sincere",
"language": "English"
},
{
"meaning": "honesty of mind",
"language": "English"
}, and so on....
]
},
{
"word": "Sincerity",
"wordInfo": [
{
"meaning": "the quality or state of being sincere",
"language": "English"
},
{
"meaning": "honesty of mind",
"language": "English"
}
]
}, and so on....
]
},
{
"Name": "Doe",
"UserId": "23749",
"FavoriteWords": [
{
"word": "Fun",
"wordInfo": [
{
"meaning": "what provides amusement or enjoyment",
"language": "English"
},
{
"meaning": "a mood for find or making amusement",
"language": "English"
}
]
},
{
"word": "Sharing",
"wordInfo": [
{
"meaning": "to divide something between two or more people",
"language": "English"
},
{
"meaning": "joint use of a resource or space",
"language": "English"
}
]
}
]
}, and so on....
] }
Please don't consider the question's context, I know its lame but I'm working on something different.