public class CharacterMapper extends AbstractMapper
| Constructor and Description |
|---|
CharacterMapper() |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getHelpedClass() |
Object |
toJava(JSONMapper mapper,
JSONValue aValue,
Class<?> aRequestedClass)
Map an instance from the JSON model to Java.
|
toJSONpublic Class<?> getHelpedClass()
public Object toJava(JSONMapper mapper, JSONValue aValue, Class<?> aRequestedClass) throws MapperException
ClassMappermapper - The JSONMapper is passed as an argument for recursive mappings or to access the mapping options.aValue - The JSON object that we want to convert.aRequestedClass - The target Java class in which we want to convert the JSON object.MapperException - If the mapping cannot be done.Copyright © 2012. All Rights Reserved.