Stringify a JSON object and replace some tags to avoid XSS:
<script>
<script>
</script>
</script>
object to stringify
JSON string of object
Stringify a JSON object and replace some tags to avoid XSS:
<script>=><script></script>=></script>