public class JsonTree extends Object
| Modifier and Type | Field and Description |
|---|---|
static List<Object> |
EMPTY_JSON_LIST
Empty lists will not be added, except for this one.
|
static Map<String,Object> |
EMPTY_JSON_MAP
Empty maps will not be added, except for this one.
|
| Constructor and Description |
|---|
JsonTree() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
asMap() |
static Integer |
ifPositive(int i)
This will cause negative integers to be ignored.
|
JsonTree |
put(String key,
Object value) |
static JsonTree |
tree()
Create the tree
|
Copyright © 2021. All rights reserved.