From an API request we get the response:
{
"records":
{
"id": "recJFKtwINHpI2vAO",
"createdTime": "2022-12-09T21:30:57.000Z",
"fields": {
"id": "4dd9cb87-3571-4fd4-8298-c7bf6e11cb1d",
"propertyName": "property A",
}
},
etc
]
}
When trying to set `testJson` to `{{response.recordsn0]}}` to an attribute, it comes with these arrow type expressions, which aren’t accessible by customer.testJsone“fields”] or customer.testJson.fields etc.
{“createdTime”=>“2022-12-09T21:30:57.000Z”, “fields”=>{“id”=>“4dd9cb87-3571-4fd4-8298-c7bf6e11cb1d”, “propertyName”=>“property A”}, “id”=>“recJFKtwINHpI2vAO”}
I’d like to set the entire response as the testJson, but 1 thing at a time.
I couldn’t find a liquid function to preserve the json.