12/06/2022 04:33 PM
Hi Forum,
We are trying to display the text in multiple lines and trying the json as below(just altered to avoid lengthy message).
"httpParams": "{\"messages\": [{\"content\":\"Hi ${user.firstname} ${user.lastname},\\nYour network account has been created."}]}",
FYI, I have tried with combinations like \\n, \n, ${'\n'}, \r\n, \\r\\n, ${System.lineSeparator()} but same error.
The error is
{"call1":{"message":"Illegal unquoted character ((CTRL-CHAR, code 10)): has to be escaped using backslash to be included in string value\n
Could you please help me to fix the error.
Solved! Go to Solution.
12/06/2022 05:52 PM
The issue has been resolved. The solution is \\n is replaced with \\\\n.