nerdexam
CompTIA

DA0-001 · Question #267

Which of the following best describes a difference between JSON and XML?

The correct answer is A. JSON is quicker to read and write. JSON (JavaScript Object Notation) is a lightweight data-interchange format that is based on the JavaScript programming language and easy to understand and generate. JSON uses a simple syntax that consists of name-value pairs and arrays, and does not require any end tags or…

Data Concepts and Environments

Question

Which of the following best describes a difference between JSON and XML?

Options

  • AJSON is quicker to read and write.
  • BJSON has to use an end tag.
  • CJSON strings are longer
  • DJSON is much more difficult to parse.

How the community answered

(53 responses)
  • A
    94% (50)
  • B
    4% (2)
  • D
    2% (1)

Explanation

JSON (JavaScript Object Notation) is a lightweight data-interchange format that is based on the JavaScript programming language and easy to understand and generate. JSON uses a simple syntax that consists of name-value pairs and arrays, and does not require any end tags or attributes. JSON is quicker to read and write than XML (Extensible Markup Language), which is a markup language that uses a tag structure to represent data items.XML has a more complex and verbose syntax that requires end tags, attributes, and namespaces.

Topics

#JSON#XML#Data Formats#Data Structure

Community Discussion

No community discussion yet for this question.

Full DA0-001 Practice