I am using the LinkedIn API and it gives me a similar result to the following: $data = json_decode($response);
I need access to "organization~" but I can´t. ¿How I can access element object when exist this character? I using PHP.
{
"elements": [
{
"organization~": {
"localizedName": "TestCompany"
},
"role": "ADMINISTRATOR",
"roleAssignee": "urn:li:person:pE3vIq7yK6",
"state": "APPROVED",
"roleAssignee~": {
"localizedLastName": "Smith",
"localizedFirstName": "John"
},
"organization": "urn:li:organization:18062654"
}
{
"organization~": {
"localizedName": "TestCompanyShowcase"
},
"role": "ADMINISTRATOR",
"roleAssignee": "urn:li:person:pE3vIq7yK6",
"state": "APPROVED",
"roleAssignee~": {
"localizedLastName": "Smith",
"localizedFirstName": "John"
},
"organization": "urn:li:organizationBrand:18085185"
},
{
"organization~": {
"localizedName": "DevTestCo \"Quote\""
},
"role": "ADMINISTRATOR",
"roleAssignee": "urn:li:person:pE3vIq7yK6",
"state": "APPROVED",
"roleAssignee~": {
"localizedLastName": "Smith",
"localizedFirstName": "John"
},
"organization": "urn:li:organization:2414183"
}
]
}