Developing Applications and Automating Workflows Using Cisco Platforms (DEVASC) — Question 14

Which two statements about JSON and XML are true? (Choose two.)

Answer options

Correct answer: C, E

Explanation

The correct answer is C and E because JSON objects indeed represent collections of key-value pairs, while XML syntax is characterized by tags, elements, and attributes. Options A and B are incorrect as JSON does not use tags and XML objects are not solely key-value pairs, respectively. Option D is also wrong because JSON arrays are ordered collections, not unordered.