T - public class MapperRemapped<T> extends JsonReaderI<T>
base| Constructor and Description |
|---|
MapperRemapped(JsonReaderI<T> parent) |
| Modifier and Type | Method and Description |
|---|---|
Object |
createObject()
use to instantiate a new object that will be used as an object
|
Type |
getType(String key) |
Object |
getValue(Object current,
String key)
-------------
|
void |
renameField(String source,
String dest) |
void |
setValue(Object current,
String key,
Object value)
called when json-smart done parsing a value
|
JsonReaderI<?> |
startArray(String key)
called when json-smart parser start an array.
|
JsonReaderI<?> |
startObject(String key)
called when json-smart parser meet an object key
|
addValue, convert, createArraypublic MapperRemapped(JsonReaderI<T> parent)
public void setValue(Object current, String key, Object value) throws ParseException, IOException
JsonReaderIsetValue in class JsonReaderI<T>ParseExceptionIOExceptionpublic Object getValue(Object current, String key)
JsonReaderIgetValue in class JsonReaderI<T>public Type getType(String key)
getType in class JsonReaderI<T>public JsonReaderI<?> startArray(String key) throws ParseException, IOException
JsonReaderIstartArray in class JsonReaderI<T>key - the destination key name, or null.ParseExceptionIOExceptionpublic JsonReaderI<?> startObject(String key) throws ParseException, IOException
JsonReaderIstartObject in class JsonReaderI<T>ParseExceptionIOExceptionpublic Object createObject()
JsonReaderIcreateObject in class JsonReaderI<T>Copyright © 2017 Chemouni Uriel. All rights reserved.