Exam 350-401 All QuestionsBrowse all questions from this exam
Question 968

DRAG DROP

-

Drag and drop the code snippets from the bottom onto the blanks in the script to convert a Python object into a JSON string. Not all options are used.

    Correct Answer:

Discussion
Mekai2020

json json.dumps json_string https://www.w3schools.com/python/gloss_python_convert_into_JSON.asp

KZM

Converting Python object into a JSON string >> json.dumps Converting JSON string to Python >> json.load

jucevabe

json.loads() converts JSON strings to Python objects, while json.dumps() converts Python objects to JSON strings The correct is json json.dumps json.string

SeMo0o0o

given answer is incorrect json json.dumps json_string

CCAL

je pense que la reponse est juste, car il es dèja en Json --> python, donc c'est json_loads

EAC84

ahh...err... agreed ?? :/