I\'m having trouble converting a string with escaped characters to and from a TJsonString. (I\'m using Delphi XE 2, Update 4, Hotfix 1).
We just ran into this lovely problem, where our backslashes weren't being escaped (but our double quotes were, apparently lol)...
The solution was to stop using TJSONObject.ToString(), and use TJSONObject.ToJSON() instead. This gives you the correctly escaped string, as opposed to the human readable format that ToString() returns.
Hope this helps someone :)