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.
|
public JsonWriter(AutoBeanFactory factory, Class<M> clazz)
factory
- the auto bean factoryclazz
- the target classpublic String write(M model)
DataWriter
model
- the source modelCopyright © 2015. All rights reserved.