Posts Tagged ‘domino’

24
Feb

Characters to escape in JSON

   Posted by: Grumelo    in javascript, web

Several characters must be escaped in JSON data to avoid any problems while reading them in JavaScript.

These characters are :

  • ‘ single quote
  • ” quote
  • \ backslash
  • all control characters like \n \t

Read the rest of this entry »

Tags: , , , ,