net.minidev.json.mapper
public static class ArraysMapper.GenericMapper<T> extends ArraysMapper<T>
ArraysMapper.GenericMapper<T>
MAPPER_BOOL, MAPPER_BYTE, MAPPER_CHAR, MAPPER_DOUBLE, MAPPER_FLOAT, MAPPER_INT, MAPPER_LONG, MAPPER_PRIM_BOOL, MAPPER_PRIM_BYTE, MAPPER_PRIM_CHAR, MAPPER_PRIM_DOUBLE, MAPPER_PRIM_FLOAT, MAPPER_PRIM_INT, MAPPER_PRIM_LONG, MAPPER_PRIM_SHORT, MAPPER_SHORT
Constructor and Description |
---|
ArraysMapper.GenericMapper(Class<T> type) |
Modifier and Type | Method and Description |
---|---|
T |
convert(Object current)
Allow a mapper to converte a temprary structure to the final data format.
|
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
|
addValue, createArray
createObject, getType, getValue, setValue
public T convert(Object current)
AMapper
convert
in class ArraysMapper<T>
public AMapper<?> startArray(String key)
AMapper
startArray
in class AMapper<T>
key
- the destination key name, or null.Copyright © 2014 Chemouni Uriel. All Rights Reserved.