nerdexam
Cisco

300-415 · Question #330

What are three types of data that JSON uses when Cisco APIC REST API uses JavaScript?

The correct answer is B. SCALAR, OBJECT, and ARRAY. When Cisco APIC REST API utilizes JavaScript with JSON, the three primary data types JSON uses are SCALAR, OBJECT, and ARRAY.

Management and Operations

Question

What are three types of data that JSON uses when Cisco APIC REST API uses JavaScript?

Options

  • AGET, PUT, and DELETE
  • BSCALAR, OBJECT, and ARRAY
  • CGET, PUT, and POST
  • DSCALAR, POST, and OBJECT

How the community answered

(21 responses)
  • B
    90% (19)
  • C
    5% (1)
  • D
    5% (1)

Why each option

When Cisco APIC REST API utilizes JavaScript with JSON, the three primary data types JSON uses are SCALAR, OBJECT, and ARRAY.

AGET, PUT, and DELETE

GET, PUT, and DELETE are HTTP methods used in REST APIs for operations, not JSON data types.

BSCALAR, OBJECT, and ARRAYCorrect

JSON data types are fundamental to its structure, encompassing scalar values (like strings, numbers, booleans, null), objects (key-value pairs), and arrays (ordered lists of values).

CGET, PUT, and POST

GET, PUT, and POST are HTTP methods used in REST APIs for operations, not JSON data types.

DSCALAR, POST, and OBJECT

POST is an HTTP method, not a JSON data type; SCALAR and OBJECT are valid JSON data types.

Concept tested: JSON data types in REST API context

Source: https://www.w3schools.com/js/js_json_datatypes.asp

Topics

#JSON#REST API#Data Types#API Basics

Community Discussion

No community discussion yet for this question.

Full 300-415 Practice