You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by GitBox <gi...@apache.org> on 2020/01/06 06:32:43 UTC

[GitHub] [commons-lang] ch0ice commented on a change in pull request #434: Fixed a problem when parsing Chinese using the ToStringStyle.JSON_STYLE

ch0ice commented on a change in pull request #434: Fixed a problem when parsing Chinese using the ToStringStyle.JSON_STYLE
URL: https://github.com/apache/commons-lang/pull/434#discussion_r363172938
 
 

 ##########
 File path: src/main/java/org/apache/commons/lang3/builder/ToStringStyle.java
 ##########
 @@ -2608,7 +2608,7 @@ private boolean isJsonObject(final String valueAsString) {
          * @param value the value to append.
          */
         private void appendValueAsString(final StringBuffer buffer, final String value) {
-            buffer.append('"').append(StringEscapeUtils.escapeJson(value)).append('"');
+            buffer.append('"').append(value).append('"');
 
 Review comment:
   so how to solve this problem.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services