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.
AnswerRFC 8259
RFC 8259 (2017) defines JSON; RFC 2616 was HTTP/1.1, RFC 791 IP and RFC 5321 SMTP.
AnswerUTF-8
The IETF standard says JSON exchanged between systems that are not part of a closed ecosystem must be encoded in UTF-8.