How to access a msg.payload that starts with @

I am trying to access a msg.payload that starts with @

msg.payload = msg.payload.@attributes;

and I get this error. Does anyone know of a way to access the data?

You can use the bracket notation for accessing object properties:

msg.payload['@attributes']

I had tried it without the quotation marks.

Thank you very much for the speed and the help