i want to parse JSON to mysql database with python 3. Lets say i have JSON from www.test.com/api/students contains list of students,
{
contents: [
{
id:"a",
name:"rey"
},
{
id:"b",
name:"rio"
},
{
id:"c",
name:"ramy"
},
]
}
and i have database called "student" and table MSStudent contains "student_id" and "student_name".
How to parse this JSON and pass it to my database, and how i query it into model on python?
thanks.