I have a payload like
{"jcr:createdBy":"admin","jcr:content":{"sling:resourceType":"contentpage","addressdetails":{"state":"vic"}}}
I want to change the value of state. I have tried the below,
<expression-transformer
expression="#[message.payload.jcr:content.addressdetails.state = 'NSW';message.payload]"
doc:name="Expression" />
but this throws an exception, invalid expression. I believe its because of : in jcr:createdBy. How should I handle this?