mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-08 01:48:33 +08:00
Update JsonPretty.java
This commit is contained in:
parent
db79a7dd27
commit
b1258e0a5a
@ -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));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user