Class CollectionMapper.ListClass<T>
java.lang.Object
net.minidev.json.writer.JsonReaderI<T>
net.minidev.json.writer.CollectionMapper.ListClass<T>
- Enclosing class:
CollectionMapper
-
Field Summary
Fields inherited from class net.minidev.json.writer.JsonReaderI
base -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd a value in an array json object.use to instantiate a new object that will be used as an arrayJsonReaderI<?> 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
convert, createObject, getType, getValue, setValue
-
Constructor Details
-
ListClass
-
-
Method Details
-
createArray
Description copied from class:JsonReaderIuse to instantiate a new object that will be used as an array- Overrides:
createArrayin classJsonReaderI<T>
-
startArray
Description copied from class:JsonReaderIcalled when json-smart parser start an array.- Overrides:
startArrayin classJsonReaderI<T>- Parameters:
key- the destination key name, or null.
-
startObject
Description copied from class:JsonReaderIcalled when json-smart parser meet an object key- Overrides:
startObjectin classJsonReaderI<T>- Parameters:
key- key name
-
addValue
Description copied from class:JsonReaderIadd a value in an array json object.- Overrides:
addValuein classJsonReaderI<T>
-