Forum Discussion
2 Replies
- bojanvelevskiValued Contributor
Hey @deepak.shaw,
You should escape the controll characters like new line. Try .replaceAll(‘\n’,‘\n’) on the JSON string, and than parse it.
Regards,
Bojan
- deepak_shawContributor
Hi,
Thanks for the reply… but suddenly it starts working, without doing any changes, it parses correctly with replacing any character.