In JSON (JavaScript Object Notation), data structures are represented using arrays and objects. A Python Tuple, which is an ordered and immutable collection of items, is best represented by a JSON array. JSON arrays are ordered lists of values, making them the closest equivalent to Python Tuples.
Object: In JSON, an object is a collection of key/value pairs.
Array: In JSON, an array is an ordered list of values.
Dict: In Python, a dict (dictionary) is a collection of key/value pairs.
Collection: General term for a group of items.
Thus, a Python Tuple would be represented as a JSON array.
[: Cisco DevNet Associate (200-901) Official Certification Guide, Section on Data Formats and Serializations., ]
200-901 PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 65% Discount on All Products,
Use Coupon: "ac4s65"