Advanced JavaScript Tutorial in Hindi [Part 102] - How to create JSON string in JavaScript?

Published: 13 September 2022
on channel: Tech Gun
24,551
438

#Javascript #Tutorial #Hindi

Link for Complete JavaScript Tutorial in Hindi for Beginners:    • JavaScript Tutorial in Hindi  

Link for Complete HTML and CSS Tutorial in Hindi for Beginners:    • Playlist  


In this video i will talk about How to create JSON string in JavaScript?


JavaScript Object Notation (JSON) is a standard text-based format for representing structured data based on JavaScript object syntax. It is commonly used for transmitting data in web applications (e.g., sending some data from the server to the client, so it can be displayed on a web page, or vice versa). You'll come across it quite often, so in this article we give you all you need to work with JSON using JavaScript, including parsing JSON so you can access data within it, and creating JSON.

1. JSON stands for JavaScript Object Notation
2. JSON is a lightweight data-interchange format
3. JSON is plain text written in JavaScript object notation
4. JSON is used to send data between computers
5. JSON is language independent

The JSON format is syntactically similar to the code for creating JavaScript objects. Because of this, a JavaScript program can easily convert JSON data into JavaScript objects.

Since the format is text only, JSON data can easily be sent between computers, and used by any programming language.

A common use of JSON is to exchange data to/from a web server.

When sending data to a web server, the data has to be a string.

Convert a JavaScript object into a string with JSON.stringify().

Please subscribe to watch more videos like this:    / @techgun  


On this page of the site you can watch the video online Advanced JavaScript Tutorial in Hindi [Part 102] - How to create JSON string in JavaScript? with a duration of hours minute second in good quality, which was uploaded by the user Tech Gun 13 September 2022, share the link with friends and acquaintances, this video has already been watched 24,551 times on youtube and it was liked by 438 viewers. Enjoy your viewing!