Python | Working with JSON - convert python object into JSON

Опубликовано: 04 Октябрь 2024
на канале: Bytecode Velocity
2,537
16

Let's Build a Community of Programmers.
Subscribe Here👉 : https://goo.gl/HhwC5i​

JSON: JavaScript Object Notation.
JSON is a syntax for storing and exchanging data.
JSON is text, written with JavaScript object notation.

JSON Tutorial For Beginners
=======================

Exchanging Data
When exchanging data between a browser and a server, the data can only be text.
JSON is text, and we can convert any JavaScript object into JSON, and send JSON to the server.
We can also convert any JSON received from the server into JavaScript objects.
This way we can work with the data as JavaScript objects, with no complicated parsing and translations.

Features of JSON:
It is light-weight
It is language independent
Easy to read and write
The text-based, human-readable data exchange format

0:00 - Convert python object to JSON
3:13 - Using JSON.dumps()
13:07 - using seperators
16:14 - Thanks for watching

Source Code: https://github.com/the-programming-guy​

Channel:    / guideme​  

Blog: http://guideme360.in/blog/​

Facebook:   / guideme360​  
  / javaeasysteps