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 2…


This content originally appeared on DEV Community and was authored by SnowBit

JSON

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: value.png 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!

Have a nice day.png


This content originally appeared on DEV Community and was authored by SnowBit


Print Share Comment Cite Upload Translate Updates
APA

SnowBit | Sciencx (2022-01-14T15:45:56+00:00) JSON for Beginners in Plain English. Retrieved from https://www.scien.cx/2022/01/14/json-for-beginners-in-plain-english/

MLA
" » JSON for Beginners in Plain English." SnowBit | Sciencx - Friday January 14, 2022, https://www.scien.cx/2022/01/14/json-for-beginners-in-plain-english/
HARVARD
SnowBit | Sciencx Friday January 14, 2022 » JSON for Beginners in Plain English., viewed ,<https://www.scien.cx/2022/01/14/json-for-beginners-in-plain-english/>
VANCOUVER
SnowBit | Sciencx - » JSON for Beginners in Plain English. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/01/14/json-for-beginners-in-plain-english/
CHICAGO
" » JSON for Beginners in Plain English." SnowBit | Sciencx - Accessed . https://www.scien.cx/2022/01/14/json-for-beginners-in-plain-english/
IEEE
" » JSON for Beginners in Plain English." SnowBit | Sciencx [Online]. Available: https://www.scien.cx/2022/01/14/json-for-beginners-in-plain-english/. [Accessed: ]
rf:citation
» JSON for Beginners in Plain English | SnowBit | Sciencx | https://www.scien.cx/2022/01/14/json-for-beginners-in-plain-english/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.