An Interest In:
Web News this Week
- March 20, 2024
- March 19, 2024
- March 18, 2024
- March 17, 2024
- March 16, 2024
- March 15, 2024
- March 14, 2024
January 14, 2022 03:45 pm GMT
Original Link: https://dev.to/codewithsnowbit/json-for-beginners-in-plain-english-4k8o
JSON for Beginners in Plain English
JSON is used for data transfer between client and server by software applications.
History
- Before JSON was introduced XML(Extensible Markup Language) was the only preferred way to transfer data between client and server.
- Later in early 2000, JSON got birth and replaced XML as a data format
What is JSON?
- JSON stands for JavaScript Object Notation
- JSON is lightweight, while being human- and machine-readable.
- The collection of data contains a key-value pair where the key must be a string, and the value can be any of the following:Image: json.org
Important rules to keep in mind:
- In JSON key values must be enclosed by double quotes
- Key and the value must be separated by a colon
:
- Each pair must be separated by comma
,
Here's how JSON looks like
{ "name": "SnowBit", "favouriteLang": "JS"}
That's it for now
Thank you for reading, have a nice day!
- Follow me on Twitter - @codewithsnowbit
- Subscribe me on YouTube - Code With SnowBit
Original Link: https://dev.to/codewithsnowbit/json-for-beginners-in-plain-english-4k8o
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To