public class ArraysMapper<T> extends JsonReaderI<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
ArraysMapper.GenericMapper<T> |
| Modifier and Type | Field and Description |
|---|---|
static JsonReaderI<java.lang.Boolean[]> |
MAPPER_BOOL |
static JsonReaderI<java.lang.Byte[]> |
MAPPER_BYTE |
static JsonReaderI<java.lang.Character[]> |
MAPPER_CHAR |
static JsonReaderI<java.lang.Double[]> |
MAPPER_DOUBLE |
static JsonReaderI<java.lang.Float[]> |
MAPPER_FLOAT |
static JsonReaderI<java.lang.Integer[]> |
MAPPER_INT |
static JsonReaderI<java.lang.Long[]> |
MAPPER_LONG |
static JsonReaderI<boolean[]> |
MAPPER_PRIM_BOOL |
static JsonReaderI<byte[]> |
MAPPER_PRIM_BYTE |
static JsonReaderI<char[]> |
MAPPER_PRIM_CHAR |
static JsonReaderI<double[]> |
MAPPER_PRIM_DOUBLE |
static JsonReaderI<float[]> |
MAPPER_PRIM_FLOAT |
static JsonReaderI<int[]> |
MAPPER_PRIM_INT |
static JsonReaderI<long[]> |
MAPPER_PRIM_LONG |
static JsonReaderI<short[]> |
MAPPER_PRIM_SHORT |
static JsonReaderI<java.lang.Short[]> |
MAPPER_SHORT |
base| Constructor and Description |
|---|
ArraysMapper(JsonReader base) |
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(java.lang.Object current,
java.lang.Object value)
add a value in an array json object.
|
T |
convert(java.lang.Object current)
Allow a mapper to converte a temprary structure to the final data format.
|
java.lang.Object |
createArray()
use to instantiate a new object that will be used as an array
|
createObject, getType, getValue, setValue, startArray, startObjectpublic static JsonReaderI<int[]> MAPPER_PRIM_INT
public static JsonReaderI<java.lang.Integer[]> MAPPER_INT
public static JsonReaderI<short[]> MAPPER_PRIM_SHORT
public static JsonReaderI<java.lang.Short[]> MAPPER_SHORT
public static JsonReaderI<byte[]> MAPPER_PRIM_BYTE
public static JsonReaderI<java.lang.Byte[]> MAPPER_BYTE
public static JsonReaderI<char[]> MAPPER_PRIM_CHAR
public static JsonReaderI<java.lang.Character[]> MAPPER_CHAR
public static JsonReaderI<long[]> MAPPER_PRIM_LONG
public static JsonReaderI<java.lang.Long[]> MAPPER_LONG
public static JsonReaderI<float[]> MAPPER_PRIM_FLOAT
public static JsonReaderI<java.lang.Float[]> MAPPER_FLOAT
public static JsonReaderI<double[]> MAPPER_PRIM_DOUBLE
public static JsonReaderI<java.lang.Double[]> MAPPER_DOUBLE
public static JsonReaderI<boolean[]> MAPPER_PRIM_BOOL
public static JsonReaderI<java.lang.Boolean[]> MAPPER_BOOL
public ArraysMapper(JsonReader base)
public java.lang.Object createArray()
JsonReaderIcreateArray in class JsonReaderI<T>public void addValue(java.lang.Object current,
java.lang.Object value)
JsonReaderIaddValue in class JsonReaderI<T>public T convert(java.lang.Object current)
JsonReaderIconvert in class JsonReaderI<T>