Python JSON Tutorial
Welcome to Python JSON Tutorial!
In this tutorial, we will learn how to handle JSON files or JSON data in Python programs.
Python JSON Tutorials
The following is a list of Python JSON Tutorials, that will cover different use cases of working with JSON data in Python programs.
- Python – Create JSON string Python Tutorial to create a JSON string from Python object.
- Python – Read JSON file Python Tutorial to read a JSON file and store it in a Python object.
- Python – Read all JSON files in directory Python tutorial to read all JSON files in given directory using
os.listdir()
function. - Python – Write JSON string to file Python Tutorial to write JSON string to a file.
- Python – Parse JSON string Python Tutorial to parse a given JSON string into a Python object.
- Python – Convert class object to JSON Python Tutorial to convert given user defined class object to JSON.
- Python – Convert tuple to JSON array Python Tutorial to convert given Tuple object to a JSON Array.
- Python – Convert CSV string to JSON array Python Tutorial to convert given CSV string into a JSON.
- Python – Convert JSON to dictionary Python Tutorial to convert given JSON string into a Python Dictionary.
- Python – Convert JSON to list Python Tutorial to convert given JSON (Array) string into a list.
- Python – Convert list to JSON Python Tutorial to convert given List into a JSON Array.
⫷ Previous tutorialNext tutorial ⫸