"Arrays and lists are always ordered." which negates D.
Per https://www.w3schools.com/js/js_json_objects.asp "JSON objects are written in key/value pairs"
Therefore C and E are correct.
It looks like they mixed up the terminology such that neither answer would hold up in a court of law.
C. JSON objects are collections of key-value pairs.
D. JSON arrays are an unordered set of key-value pairs.
https://www.json.org/json-en.html
JSON is built on two structures:
A collection of name/value pairs. In various languages, this is realized as an object, record, struct, dictionary, hash table, keyed list, or associative array.
An ordered list of values. In most languages, this is realized as an array, vector, list, or sequence.
In JSON, they take on these forms:
An object is an unordered set of name/value pairs. An object begins with {left brace and ends with }right brace. Each name is followed by :colon and the name/value pairs are separated by ,comma.
An array is an ordered collection of values. An array begins with [left bracket and ends with ]right bracket. Values are separated by ,comma.
Re-reading my comment - C is the correct for JSON
An object in JSON does not refer to the entire JSON blob, it refers specifically to the portion that would be a dict in Python.
D&E as in JSON an object is an unordered set of name/value pairs. An object begins with {left brace and ends with }right brace. Each name is followed by :colon and the name/value pairs are separated by ,comma.
This section is not available anymore. Please use the main Exam Page.200-901 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Requium
Highly Voted 4 years, 11 months agoKlusner
Most Recent 6 months, 3 weeks agoNiki_nik
2 years, 7 months agomacxsz
2 years, 11 months agodesignated
3 years, 2 months agorichard2865
4 years agoalahnomi
4 years, 2 months agomarcxi
4 years, 3 months agoNet91
4 years, 4 months agouzbin
4 years, 5 months agoNitinPathak
4 years, 7 months agoDavePaul67
4 years, 7 months agopsyborg
4 years, 8 months agopsyborg
4 years, 8 months agoLeonhrz
4 years, 9 months agoravv
4 years, 9 months agoRequium
4 years, 9 months agoananbini0035
4 years, 10 months agoFireTv
4 years, 10 months ago