Comment 3 for bug 878508

Revision history for this message
Chris Hillery (ceejatec) wrote : Re: JSON Module not escaping escape characters

Yep, it looks like this isn't working. Paul, please investigate.

I'm attaching a query that demonstrates most of the missing escape sequences in JSON serialization (based on Mauro's original). I only didn't include any unicode escapes since I know I don't know how to generate those correctly.

I suspect that JSONiq does many of these correctly, so perhaps the serialization code could be shared? On the other hand, now would be a good time to create some test cases for all of these with JSONiq and verify that it does indeed handle them right...