Python Advanced – Serialization

Data serialization is the process of converting structured data to a format that allows sharing or storage of the data in a form that allows recovery of its original structure. In some cases, the secondary intention of data serialization is to minimize the data’s size which then reduces disk space or bandwidth requirements.

It’s common to transmit and receive data between a server and web application in JSON format.


john = {"name":"Folau","age":30}
jjohn = json.dumps(john, indent = 2, sort_keys=True)


Subscribe To Our Newsletter
You will receive our latest post and tutorial.
Thank you for subscribing!


Leave a Reply

Your email address will not be published. Required fields are marked *