Package net.minidev.json.writer
Class CollectionMapper.MapClass<T>
java.lang.Object
net.minidev.json.writer.JsonReaderI<T>
net.minidev.json.writer.CollectionMapper.MapClass<T>
- Enclosing class:
CollectionMapper
-
Field Summary
Fields inherited from class net.minidev.json.writer.JsonReaderI
base
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionuse to instantiate a new object that will be used as an object-------------void
called when json-smart done parsing a valueJsonReaderI
<?> 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.JsonReaderI
addValue, convert, createArray
-
Constructor Details
-
MapClass
-
-
Method Details
-
createObject
Description copied from class:JsonReaderI
use to instantiate a new object that will be used as an object- Overrides:
createObject
in classJsonReaderI<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>
- Parameters:
key
- key name
-
setValue
Description copied from class:JsonReaderI
called when json-smart done parsing a value- Overrides:
setValue
in classJsonReaderI<T>
-
getValue
Description copied from class:JsonReaderI
-------------- Overrides:
getValue
in classJsonReaderI<T>
-
getType
- Overrides:
getType
in classJsonReaderI<T>
-