Member-only story
Learn JSON in 4 Minutes
JSON is used everywhere. Let’s level up our coding skills by understanding it
JSON stands for JavaScript Object Notation.
Simply put, JSON is a text-based data format. It is used for representing structured data based on JavaScript object syntax. Valid JSON is always valid JavaScript at the same time.
You are going to use JSON all the time throughout your career as a software developer. Be prepared!
Today, you are going to learn what JSON is, why it is so popular, how to produce JSON, and how to work with it in JavaScript.
What Makes JSON So Popular?
JSON is so popular because:
- It is really lightweight due to the small file size.
- It's easy for humans to read/write JSON.
- JSON works super nicely with JavaScript. Any valid JSON is also automatically valid JavaScript.
- Almost every programming language supports parsing JSON in some way or another.
Awesome! Let’s dive deeper into the world of JSON.