17. JSON : JAVASCRIPT

JSON

json in javascript

It is a format for storing and transporting data. JSON is often used when data is sent from a server to a web page.

  • JSON stands for JavaScript Object Notation
  • JSON is a lightweight data-interchange format
  • JSON is language independent
  • JSON is "self-describing" and easy to understand


The JSON syntax is derived from JavaScript object notation syntax, but the JSON format is text only. The code for reading and generating JSON data can be written in any programming language.

  • Stringify - It is used to convert a valid JavaScript object into a string.
  • Parse - It is used to convert a valid string into a JavaScript object.

Post a Comment

0 Comments