public class ObjConvertImpl extends Object implements MaplConvert
Modifier and Type | Field and Description |
---|---|
protected Context |
context |
protected Stack<String> |
path |
protected Type |
type |
Constructor and Description |
---|
ObjConvertImpl(Type type) |
Modifier and Type | Method and Description |
---|---|
Object |
convert(Object model)
这个实现, 主要将 List, Map 的对象结构转换成真实的对象.
|
Object |
inject(Object model,
Type type) |
public ObjConvertImpl(Type type)
public Object convert(Object model)
规则:
convert
in interface MaplConvert
model
- MapList结构对象Copyright © 2018. All rights reserved.