Serializing strings with RTF


I use TDataSnapJsonSerializer to serialize Aurelius objects through datasnap. Works really well, but I found that when I serialize an objects that has a Memo (as a string) that contains RTF, it messes up the JSON that is produced. I am guessing that the { are not escaped or something.

Hi Kick,

I guess it's a problem with the DataSnap Json objects? We do not perform any escape, all is done through the Delphi classes in DBXJson. Let me know if this issue can be easily isolated and reproduced, so we can do more tests here. Alternatively you could try the TSuperObjectSerializer