I have an object. In my object, there is a key with forward slashes and I would like to access the child of the key with forward slashes pattern 
I have tried several approaches to no avail, please help with a solution to access the pattern property. Object is at the bottom
test.attributes./worker/workAssignment/homeOrganizationalUnits/typeCode/codeValue
SyntaxError: Unexpected token /
key = '/worker/workAssignment/homeOrganizationalUnits/typeCode/codeValue'
test.attributes.key
undefined
test.attributes.["key"]
Thrown:
SyntaxError: Unexpected token [
test.attributes.\/worker\/workAssignment\/homeOrganizationalUnits\/typeCode\/codeValue
Thrown:
SyntaxError: Invalid or unexpected token
{
    "attributes": {
        "/worker/workAssignment/homeOrganizationalUnits/typeCode/codeValue": {
            "pattern": "Department"
        }
    },
    "value": {
        "links": [{
            "href": "/codelists/hr/v3/worker-management/departments/WFN/1?$filter=foreignKey eq {payrollGroupCode}",
            "mediaType": "application/json",
            "method": "GET"
        }]
    }
}
 
     
    