mirror of
https://gitee.com/dromara/MaxKey.git
synced 2026-05-15 13:02:07 +08:00
Update JsonPretty.java
This commit is contained in:
@@ -70,7 +70,7 @@ public class JsonPretty implements Pretty{
|
||||
* @return String
|
||||
*/
|
||||
public String format(String jsonString){
|
||||
return format(new JsonParser().parse(jsonString));
|
||||
return format(JsonParser.parseString(jsonString));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user