I am working in the lua language of CORONASDK and I run into a JSON of this type:
[
{
"data":{
"online":true,
"peerId":1,
"id":"5af10ec611686d7373de1b98",
"scriptData":{
"PROFILE":{
"religion":"Cristiaismo",
"OS":"Heterosexual",
"pais":"Colombia",
"sexo":"Femenino",
"PP":"Polo Democrático",
"email":"",
"maxScore":0,
"user":"motorolaef31",
"raza":"Afrodescendiente",
"lang":"Inglés",
"edad":"< 18"
}
},
"externalIds":{
},
"displayName":"motorolaef31"
}
}
]
I need to access the "PROFILE" attribute how could I do that?