DEV Community

Cover image for JSON for Beginners in Plain English
Dhairya Shah
Dhairya Shah

Posted on • Originally published at codewithsnowbit.hashnode.dev

3 1

JSON for Beginners in Plain English

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"
}
Enter fullscreen mode Exit fullscreen mode

That's it for now


Thank you for reading, have a nice day!

Have a nice day.png

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay