DEV Community

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

Posted on

4 2

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)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more