DEV Community

Cover image for Everything a beginner need to know about JSON in 3 minutes
Alex Pushkarev
Alex Pushkarev

Posted on

Everything a beginner need to know about JSON in 3 minutes

JSON is the most popular data format these days. Let's demystify it!

1) What JSON is used for?

JSON is a data format commonly used for building Rest API, web services and configuration files.

2) How to write JSON documents?

JSON has very simple syntax - it's basically collection of key-value pairs.

3) What data types does JSON support?

5 data types (if we will not count "null" as data type):

  • Object
  • Array
  • boolean
  • numeric
  • text

Top comments (0)