qobjects = [
{
question: "When you parse code with the json.loads() method, the result is returned as a specific Python data type, which one?",
options: [
"list",
"set",
"tuple",
"dictionary"
],
correct: 3
},
{
question: "Which method from the json library can be used to convert a Python object into a JSON string?",
options: [
"json.tojson()",
"json.dumps()",
"json.extract()"
],
correct: 1
},
{
question: "The json.dumps() method has a keyword parameter used to sort the result, what is it called?",
options: [
"order",
"sort_keys",
"arrange"
],
correct: 1
}
]