liubao68 commented on issue #4239:
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/4239#issuecomment-1982521195

   如果需要,可以按照下面的方式定制:
   
   ```java
     @Test
     public void test() throws Exception {
       RestObjectMapperFactory.getRestObjectMapper().getFactory()
           
.setStreamReadConstraints(StreamReadConstraints.builder().maxStringLength(20).build());
       
RestObjectMapperFactory.getRestObjectMapper().readValue("\"dddddddddddddddddddddddddddddddddd\"",
 String.class);
     }
   ```
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to