← JSONChallenge.com

Coding · Facts & stats

JSON facts & stats

7 fact-checked facts about JSON, each with the reason behind it. 5 more are in today's round and join this page after it closes.

Play today's round

The basics

In JSON, which characters surround an object?

AnswerCurly braces { }

JSON objects are written inside curly braces as key-value pairs.

In JSON, which characters surround an array?

AnswerSquare brackets [ ]

JSON arrays are ordered lists written inside square brackets.

Going deeper

In JSON, object keys must be written how?

AnswerAs strings in double quotes

JSON requires every object key to be a double-quoted string.

What is the standard media type for JSON?

Answerapplication/json

application/json is the registered media type for JSON data.

How is an empty or missing value written in JSON?

Answernull

JSON uses the lowercase literal null for an empty value.

Expert level

Which IETF RFC, published in 2017, is the Internet standard for JSON?

AnswerRFC 8259

RFC 8259 (2017) defines JSON; RFC 2616 was HTTP/1.1, RFC 791 IP and RFC 5321 SMTP.

Which character encoding does the IETF JSON standard require for JSON exchanged between open systems?

AnswerUTF-8

The IETF standard says JSON exchanged between systems that are not part of a closed ecosystem must be encoded in UTF-8.

Know these cold?Today's round is five questions like these, 20 seconds each. Your streak and level follow you to every arena.Play today's round