DA0-001 · Question #267
DA0-001 Question #267: Real Exam Question with Answer & Explanation
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 attrib
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.
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
Community Discussion
No community discussion yet for this question.