Hello Experts , We have been using the String Escape Utils API to escape
JSON data. I'm observing the performance issue in this API. Total length of
String input varies between 100 to 1K. Am i using the API in right way ?
Any input to improve the performance  would be greatly appreciated.


import org.apache.commons.text.StringEscapeUtils;


StringEscapeUtils.escapeJson(data);


Library Version :

  <dependency>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-text</artifactId>
     <version>1.6</version>
  </dependency>


--Senthil

Reply via email to