public class MapOrList
extends java.lang.Object
Constructor and Description |
---|
MapOrList() |
Modifier and Type | Method and Description |
---|---|
MapOrList |
createAndPutList(java.lang.String key) |
MapOrList |
createAndPutMap(java.lang.String key) |
static MapOrList |
createList(java.util.List<java.lang.Object> list) |
static MapOrList |
createMap(java.util.Map<java.lang.String,java.lang.Object> map) |
void |
putOrAdd(java.lang.String fieldName,
java.lang.Object value) |
java.lang.Object |
toObject() |
public static MapOrList createList(java.util.List<java.lang.Object> list)
public static MapOrList createMap(java.util.Map<java.lang.String,java.lang.Object> map)
public MapOrList createAndPutMap(java.lang.String key)
public MapOrList createAndPutList(java.lang.String key)
public void putOrAdd(java.lang.String fieldName, java.lang.Object value)
public java.lang.Object toObject()