filmov
tv
Python | Working with JSON - convert python object into JSON
Показать описание
Let's Build a Community of Programmers.
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
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