Package net.minidev.json.writer
Class BeansMapper.BeanNoConv<T>
java.lang.Object
net.minidev.json.writer.JsonReaderI<T>
net.minidev.json.writer.BeansMapper.BeanNoConv<T>
- Enclosing class:
- BeansMapper<T>
-
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 objectGets the type for the specified keyGets a value from the current objectvoidcalled 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
-
BeanNoConv
-
-
Method Details
-
setValue
Description copied from class:JsonReaderIcalled when json-smart done parsing a value- Overrides:
setValuein classJsonReaderI<T>- Parameters:
current- the current object being builtkey- the key for the valuevalue- the parsed value
-
getValue
Description copied from class:JsonReaderIGets a value from the current object- Overrides:
getValuein classJsonReaderI<T>- Parameters:
current- the current objectkey- the key to get the value for- Returns:
- the value associated with the key
-
getType
Description copied from class:JsonReaderIGets the type for the specified key- Overrides:
getTypein classJsonReaderI<T>- Parameters:
key- the key to get the type for- Returns:
- the Type associated with the key
-
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.- Returns:
- a JsonReaderI to handle the array parsing
-
startObject
Description copied from class:JsonReaderIcalled when json-smart parser meet an object key- Overrides:
startObjectin classJsonReaderI<T>- Parameters:
key- key name- Returns:
- a JsonReaderI to handle the object parsing
-
createObject
Description copied from class:JsonReaderIuse to instantiate a new object that will be used as an object- Overrides:
createObjectin classJsonReaderI<T>- Returns:
- a new object instance
-