net.minidev.json.mapper
public static class CollectionMapper.ListClass<T> extends AMapper<T>
Constructor and Description |
---|
CollectionMapper.ListClass(Class<?> clazz) |
Modifier and Type | Method and Description |
---|---|
void |
addValue(Object current,
Object value)
add a value in an array json object.
|
Object |
createArray()
use to instantiate a new object that will be used as an array
|
AMapper<?> |
startArray(String key)
called when json-smart parser start an array.
|
AMapper<?> |
startObject(String key)
called when json-smart parser meet an object key
|
public CollectionMapper.ListClass(Class<?> clazz)
public Object createArray()
AMapper
createArray
in class AMapper<T>
public AMapper<?> startArray(String key)
AMapper
startArray
in class AMapper<T>
key
- the destination key name, or null.public AMapper<?> startObject(String key)
AMapper
startObject
in class AMapper<T>
Copyright © 2014 Chemouni Uriel. All Rights Reserved.