nerdexam
Juniper

JN0-224 · Question #154

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

The correct answer is B. objects C. arrays. 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…

Automation Overview and Evolution

Question

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

Options

  • Atuples
  • Bobjects
  • Carrays
  • Ddictionaries

How the community answered

(36 responses)
  • A
    6% (2)
  • B
    86% (31)
  • D
    8% (3)

Explanation

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 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.

Topics

#JSON#data structures#JSON objects#JSON arrays

Community Discussion

No community discussion yet for this question.

Full JN0-224 Practice