public final class JsonIntegerNode extends Object
| 构造器和说明 |
|---|
JsonIntegerNode(Supplier<Integer> supplier) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
compactString()
Produces a json string in a compact format.
|
static JsonIntegerNode |
of(Integer value)
Creates a JsonIntegerNode with a given integer value.
|
String |
prettyString(int indentation)
Produces a json string with indentations.
|
protected Supplier<T> supplier
public static JsonIntegerNode of(Integer value)
value - the integer value to be convertedpublic String compactString()
JsonNodepublic final String prettyString(int indentation)
JsonNodeprettyString 在接口中 JsonNodeindentation - the amount of indentationsCopyright © 2019. All rights reserved.