I'm using jQuery ajax to send updates from the client's browser to my server,
I noticed that there is some characters that JSON doesn't support,
and in order to send them, i need to add additional \ in front of each.
This characters are well documented at json.com:
(source: json.org)
I'm not so good at javascripting (i'm new in this area),
So i wonder if there is any already made function that takes a string and formats it to fit this requirement?
iv'e searched the web but couldn't find any javascript solution for this..
Thanks in advance, Eitan.