I have a text and would like to break lines in it, the format is application / json.
I used /n but sometimes it seems to work, and other no.
{"Text":"# hi \n\n::: red \n\nImportant \n bye"}
Thanks
Use \
for escape character before \n
:
{"Text":"# hi \\n\\n::: red \\n\\nImportant \\n bye"}