Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 4167

REST API - Escaping characters

$
0
0

Let's assume I have a notes field with new lines characters in it.What solution is correct and what is the difference between them?

1

{"notes" : "test test test \n line2"}

2

{"notes" : "test test test \\n line2"}

Thank you


Viewing all articles
Browse latest Browse all 4167

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>