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