| 构造器和说明 |
|---|
JsonObjectNode() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
compactString()
Produces a json string in a compact format.
|
static JsonObjectNode |
of(Map<String,?> valueMap)
Creates a JsonObjectNode with a given map.
|
String |
prettyString(int indentation)
Produces a json string with indentations.
|
void |
putNode(String key,
JsonNode node)
Adds a child
|
public static JsonObjectNode of(Map<String,?> valueMap)
valueMap - the map value to be convertedpublic String compactString()
JsonNodecompactString 在接口中 JsonNodepublic String prettyString(int indentation)
JsonNodeprettyString 在接口中 JsonNodeindentation - the amount of indentationsCopyright © 2019. All rights reserved.