CCNP 350-401 ENCOR Question 424 DISCUSSION

  • 753 views
  • 2023-06-27
« Back to Main Menu

An engineer must export the contents of the devices object in JSON format. Which statement must be use?

Q424

A. json.print(Devices)
B. json.loads(Devices)
C. json.dumps(Devices)
D. json.repr(Devices)

An engineer must export the contents of the devices object in JSON format. Which statement must be use?

Q424

A. json.print(Devices)
B. json.loads(Devices)
C. json.dumps(Devices)
D. json.repr(Devices)

Correct Answer: C

json.dumps() function will convert a subset of Python objects into a json string.

Support AceITCert.com by buying stuff you need!

0 Comments

In order to participate in the comments you need to be logged-in.
You can sign-up or login (it's free).