Package net.minidev.json.writer
Class ArraysMapper<T>
java.lang.Object
net.minidev.json.writer.JsonReaderI<T>
net.minidev.json.writer.ArraysMapper<T>
- Direct Known Subclasses:
ArraysMapper.GenericMapper
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic JsonReaderI
<Boolean[]> static JsonReaderI
<Byte[]> static JsonReaderI
<Character[]> static JsonReaderI
<Double[]> static JsonReaderI
<Float[]> static JsonReaderI
<Integer[]> static JsonReaderI
<Long[]> static JsonReaderI
<boolean[]> static JsonReaderI
<byte[]> static JsonReaderI
<char[]> static JsonReaderI
<double[]> static JsonReaderI
<float[]> static JsonReaderI
<int[]> static JsonReaderI
<long[]> static JsonReaderI
<short[]> static JsonReaderI
<Short[]> Fields inherited from class net.minidev.json.writer.JsonReaderI
base
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add a value in an array json object.Allow a mapper to converte a temprary structure to the final data format.use to instantiate a new object that will be used as an arrayMethods inherited from class net.minidev.json.writer.JsonReaderI
createObject, getType, getValue, setValue, startArray, startObject
-
Field Details
-
MAPPER_PRIM_INT
-
MAPPER_INT
-
MAPPER_PRIM_SHORT
-
MAPPER_SHORT
-
MAPPER_PRIM_BYTE
-
MAPPER_BYTE
-
MAPPER_PRIM_CHAR
-
MAPPER_CHAR
-
MAPPER_PRIM_LONG
-
MAPPER_LONG
-
MAPPER_PRIM_FLOAT
-
MAPPER_FLOAT
-
MAPPER_PRIM_DOUBLE
-
MAPPER_DOUBLE
-
MAPPER_PRIM_BOOL
-
MAPPER_BOOL
-
-
Constructor Details
-
ArraysMapper
-
-
Method Details
-
createArray
Description copied from class:JsonReaderI
use to instantiate a new object that will be used as an array- Overrides:
createArray
in classJsonReaderI<T>
-
addValue
Description copied from class:JsonReaderI
add a value in an array json object.- Overrides:
addValue
in classJsonReaderI<T>
-
convert
Description copied from class:JsonReaderI
Allow a mapper to converte a temprary structure to the final data format. example: convert an Listto an int[] - Overrides:
convert
in classJsonReaderI<T>
-