M
- the starting data format for the model to be inputedpublic class JsonWriter<M> extends AutoBeanWriter<M,String>
Constructor and Description |
---|
JsonWriter(AutoBeanFactory factory,
Class<M> clazz)
Creates a new JSON writer for auto beans.
|
Modifier and Type | Method and Description |
---|---|
String |
write(M model)
Converts a source model to its equivalent target type.
|
getAutoBean
public String write(M model)
DataWriter
model
- the source modelCopyright © 2018. All rights reserved.