In JSON, which characters surround an object?
AnswerCurly braces { }
JSON objects are written inside curly braces as key-value pairs.
Coding · 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.
AnswerCurly braces { }
JSON objects are written inside curly braces as key-value pairs.
AnswerSquare brackets [ ]
JSON arrays are ordered lists written inside square brackets.
AnswerAs strings in double quotes
JSON requires every object key to be a double-quoted string.
Answerapplication/json
application/json is the registered media type for JSON data.
Answernull
JSON uses the lowercase literal null for an empty value.
AnswerUTF-8
The IETF standard says JSON exchanged between systems that are not part of a closed ecosystem must be encoded in UTF-8.
Answer-1.5e3
JSON numbers allow a minus sign, decimals and exponents, but not hex, a leading dot or a leading plus sign.