JSON is a very good way to share data among different applications. In python, we can serialize a python object to string and send it to other applications.
To process json in python, we should know:
1.How to encode a python object to a string
To encode a python list to json.
Serialize any python object.
2.How to decode a json string to python object
We also can decode a json string to a python object to use.
3.How to save json string to database
We may need to save json string to database (Oracle, MySQL) to share or process. To save it. Here is a tutorial.
4.How to decode python json using php
After having got json string using python, we may send it to remote web server to process, for example php web server. To decode it using php, we can read: