public class JSONEngineConfig extends Object implements Serializable
| Constructor and Description |
|---|
JSONEngineConfig() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPrettyPrint()
获取是否启用格式化输出
|
static JSONEngineConfig |
of()
创建JSON引擎配置
|
JSONEngineConfig |
setPrettyPrint(boolean prettyPrint)
设置是否启用格式化输出
|
public static JSONEngineConfig of()
public boolean isPrettyPrint()
public JSONEngineConfig setPrettyPrint(boolean prettyPrint)
prettyPrint - 布尔值,指示是否启用格式化输出Copyright © 2024. All rights reserved.