Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Juniper JN0-224 Exam - Topic 1 Question 17 Discussion

Which two data structures are used in JSON? (Choose two.)
B) objects and C) arrays
A) tuples
D) dictionaries

Juniper JN0-224 Exam - Topic 1 Question 17 Discussion

Actual exam question for Juniper's JN0-224 exam
Question #: 17
Topic #: 1
[All JN0-224 Questions]

Which two data structures are used in JSON? (Choose two.)

Show Suggested Answer Hide Answer
Suggested Answer: B, C

In JSON (JavaScript Object Notation), the two primary data structures are:

Objects: These are collections of key-value pairs, where each key is a string, and the value can be a string, number, array, boolean, or another object. In Python, this structure is analogous to a dictionary.

Arrays: These are ordered lists of values, where each value can be of any data type, including another array or object. In Python, this structure is similar to a list.

Option A (tuples) and Option D (dictionaries) refer to Python-specific data structures and are not directly used in JSON.

Supporting Reference:

JSON Documentation and Tutorials: JSON objects and arrays are the standard data structures used in this format, as described in many tutorials and the official JSON documentation.


Contribute your Thoughts:

0/2000 characters

Currently there are no comments in this discussion, be the first to comment!


Save Cancel