mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-30 04:45:55 +08:00
add methods
This commit is contained in:
parent
172d457bea
commit
05141a7927
@ -62,13 +62,13 @@ public class JSONWriter extends Writer {
|
||||
private boolean arrayMode;
|
||||
|
||||
/**
|
||||
* 创建{@link JSONWriter}
|
||||
* 创建JSONWriter
|
||||
*
|
||||
* @param writer {@link Writer}
|
||||
* @param indentFactor 缩进因子,定义每一级别增加的缩进量
|
||||
* @param indent 本级别缩进量
|
||||
* @param config JSON选项
|
||||
* @return {@link JSONWriter}
|
||||
* @return JSONWriter
|
||||
*/
|
||||
public static JSONWriter of(Writer writer, int indentFactor, int indent, JSONConfig config) {
|
||||
return new JSONWriter(writer, indentFactor, indent, config);
|
||||
|
Loading…
Reference in New Issue
Block a user