How to Parse JSON and keep the escape formatting?

Hi,

I have a scenario where I am getting output from an AI model in a form of text but it’s in JSON format.

I want to get the value of “body” as is with escape formatting (\n). But when I parse the JSON it converts it into text with new lines.

Can someone please help me setting this up in the right way so that I can get the text as is?

1 Like

Hi @Ashray_Pai
You can replace newline with \n in the module where you need to map the body.

Best regards,
Msquare Automation
Platinum Partner of Make
@Msquare_Automation

1 Like

Hi @Ashray_Pai
Here is an example

Best regards,
Msquare Automation
Platinum Partner of Make
@Msquare_Automation

1 Like

Wow, it was that simple, I tried all kinds of stuff, haha.

Thanks a lot :smiley: