Is it possible to use qs.stringify to deal with object arrays? How does the Django backend get the data?

I want to transfer the array of objects to the background using post. This is how I pass it:

 Http({
            method:"POST",
            url:"addGroup",
            data:qs.stringify({
                "list":this.excelData
            })
 })

where excelData is an array of objects:

excelData:[{
    name:xxx,
    age;10
}{
    name:xxx,
    age;16
}] 

the background gets an empty set when reading list:

ci_list=request.POST.getlist("list")

ci_list=request.POST.getlist("list[]")
What is the reason for

?


qs.stringify({ 'list':this.excelData },{ arrayFormat: 'brackets' })
arrayFormat 
arrayformat 
qs.stringify({ id: ['b', 'c'] }, { arrayFormat: 'indices' })
// 'id[0]=b&id[1]=c'
qs.stringify({ id: ['b', 'c'] }, { arrayFormat: 'brackets' })
// 'id[]=b&id[]=c'
qs.stringify({ id: ['b', 'c'] }, { arrayFormat: 'repeat' })
// 'id=b&id=c'
Menu