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>
public static class BeansMapper.BeanNoConv<T> extends JsonReaderI<T>
-
-
Field Summary
-
Fields inherited from class net.minidev.json.writer.JsonReaderI
base
-
-
Constructor Summary
Constructors Constructor Description BeanNoConv(JsonReader base, Class<T> clz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
createObject()
use to instantiate a new object that will be used as an objectType
getType(String key)
Object
getValue(Object current, String key)
-------------void
setValue(Object current, String key, Object value)
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 key-
Methods inherited from class net.minidev.json.writer.JsonReaderI
addValue, convert, createArray
-
-
-
-
Constructor Detail
-
BeanNoConv
public BeanNoConv(JsonReader base, Class<T> clz)
-
-
Method Detail
-
setValue
public void setValue(Object current, String key, Object value)
Description copied from class:JsonReaderI
called when json-smart done parsing a value- Overrides:
setValue
in classJsonReaderI<T>
-
getValue
public Object getValue(Object current, String key)
Description copied from class:JsonReaderI
-------------- Overrides:
getValue
in classJsonReaderI<T>
-
getType
public Type getType(String key)
- Overrides:
getType
in classJsonReaderI<T>
-
startArray
public JsonReaderI<?> startArray(String key)
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
public JsonReaderI<?> startObject(String key)
Description copied from class:JsonReaderI
called when json-smart parser meet an object key- Overrides:
startObject
in classJsonReaderI<T>
- Parameters:
key
- key name
-
createObject
public Object createObject()
Description copied from class:JsonReaderI
use to instantiate a new object that will be used as an object- Overrides:
createObject
in classJsonReaderI<T>
-
-