Re: commons-lang class JsonToStringStyle does not escape double quote in a string value

2018-05-09 Thread sebb
h.com.INVALID> > Sent: Tuesday, May 8, 2018 8:10 PM > To: user@commons.apache.org > Subject: commons-lang class JsonToStringStyle does not escape double quote in > a string value > > If string value contains double quote, JsonToStringStyle generates > invalid json stri

Re: commons-lang class JsonToStringStyle does not escape double quote in a string value

2018-05-09 Thread Martin Gainty
can you submit a JIRA ticket with patch? Martin From: Jim Gan <j...@oath.com.INVALID> Sent: Tuesday, May 8, 2018 8:10 PM To: user@commons.apache.org Subject: commons-lang class JsonToStringStyle does not escape double quote in a string value If string

commons-lang class JsonToStringStyle does not escape double quote in a string value

2018-05-09 Thread Jim Gan
If string value contains double quote, JsonToStringStyle generates invalid json string. Here is the detail : The code at line 2609 needs to escape the double quote before appending it to the buffer.