Sebb created LANG-1395:
--------------------------

             Summary: JsonToStringStyle does not escape double quote in a 
string value
                 Key: LANG-1395
                 URL: https://issues.apache.org/jira/browse/LANG-1395
             Project: Commons Lang
          Issue Type: Bug
            Reporter: Sebb


>From the user mailing list [1]:
JsonToStringStyle does not escape double quote in a string value

JSON requires double-quote to be escaped with a back-slash.

This does not happen currently.

Nor does the code translate control characters such as NL and FF correctly.

AFAICT the code is only guaranateed to process alphanumeric strings correctly.

[1] 
https://lists.apache.org/thread.html/10bb632e86c473d58656431ad2702e058c58585e1a2edf1bf4a46824@%3Cuser.commons.apache.org%3E



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to