I have the following answer
{
"users":[
{
"id":1,
"Name":"Rafael",
"label":"teste"
},
{
"id":2,
"Name":"Carlos",
"label":"teste"
}
],
"relations":[
{
"id":1
},
{
"id":2
}
]
}
And I want to set up two object arrays
var usersArray;
var relationsArray;
I tried it in several ways and .map(JSON.parse)
does not work on my page.