public class JsonClassType<T> extends Object implements ITypeMapping
| Constructor and Description |
|---|
JsonClassType(Class<T> rootClass) |
| Modifier and Type | Method and Description |
|---|---|
Object |
parse(JsonReader reader) |
void |
render(JsonWriter w,
Object instance) |
void |
setMap(Map<String,PropertyMapping> res) |
public void render(@Nonnull JsonWriter w, @Nonnull Object instance) throws Exception
render in interface ITypeMappingExceptionpublic Object parse(@Nonnull JsonReader reader) throws Exception
parse in interface ITypeMappingExceptionpublic void setMap(@Nonnull Map<String,PropertyMapping> res)
Copyright © 2017 etc.to. All rights reserved.