Package net.minidev.json.writer
Class ArraysMapper.GenericMapper<T>
java.lang.Object
net.minidev.json.writer.JsonReaderI<T>
net.minidev.json.writer.ArraysMapper<T>
net.minidev.json.writer.ArraysMapper.GenericMapper<T>
- Enclosing class:
ArraysMapper<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minidev.json.writer.ArraysMapper
ArraysMapper.GenericMapper<T>
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Class
<?> (package private) JsonReaderI
<?> Fields inherited from class net.minidev.json.writer.ArraysMapper
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
Fields inherited from class net.minidev.json.writer.JsonReaderI
base
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAllow a mapper to converte a temprary structure to the final data format.JsonReaderI
<?> startArray
(String key) called when json-smart parser start an array.JsonReaderI
<?> startObject
(String key) called when json-smart parser meet an object keyMethods inherited from class net.minidev.json.writer.ArraysMapper
addValue, createArray
Methods inherited from class net.minidev.json.writer.JsonReaderI
createObject, getType, getValue, setValue
-
Field Details
-
componentType
-
subMapper
JsonReaderI<?> subMapper
-
-
Constructor Details
-
GenericMapper
-
-
Method Details
-
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 classArraysMapper<T>
-
startArray
Description copied from class:JsonReaderI
called when json-smart parser start an array.- Overrides:
startArray
in classJsonReaderI<T>
- Parameters:
key
- the destination key name, or null.
-
startObject
Description copied from class:JsonReaderI
called when json-smart parser meet an object key- Overrides:
startObject
in classJsonReaderI<T>
-