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