I saw that a lot of online processing of json data containing special characters involves determining which special characters they are one by one, such as how to handle carriage returns and how to handle quotation marks. In fact, there is a ready-made code library that can do this, download json-lib-2.3-jdk15.jar: