I want to call a post API whose parameters is an array of objects eg:
{
"articles":[
{
"mobile":85634293205468,
"name":"Name1"
},
{
"mobile":9535934854445,
"name":"Name2"
},
{
"mobile":589524452264,
"name":"Name3"
}
],
"user_id":143324757
}
is there a way to make a variable of array of objects type so that I can call for this API. I am a beginner in android please tell me the reason if the question is not clear.
Thank you