convert list to JSON Python

preview_player
Показать описание
This video explains how to convert python list to JSON.
A simple list, list of lists and list of dictionaries are taken as examples and converted to JSON.

Other interesting videos:

Link for Build your first mobile app in Python

Link for How to build a Quiz app with Python Tkinter

Link for Display MySQL data in python table :Treeview with horizontal scrollbar

Link for how to connect python with MySQL

Link for text to speech conversion using python
For more python videos:

For cryptography related videos:

Subscribe for more new videos:

Thanks for your support,
#Trinitysoftware

#listtojson #convertlisttojson
#listtojsonpython
Рекомендации по теме
Комментарии
Автор

I really appreciate Json, how Json works ?

AI_Mirror_Company
Автор

is it possible to convert from List of List to JSON object.
example of input data is
[["NAME", "state", "Zipcode"],
["Autauga", "Alabama", "55639"],
["Baldwin", "Alabama", "218289"]

Required output is
[
{ 'NAME': 'Autauga'
'state': 'Alabama'
'zipcode': '55639'
}

{ 'NAME': 'Baldwin'
'state': 'Alabama'
'zipcode': '218289'
}
]

xingping