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