public abstract class Model extends Object
| Constructor and Description |
|---|
Model() |
| Modifier and Type | Method and Description |
|---|---|
String |
toJson()
Returns the json representation of the Model.
|
static String |
toJson(Model... models)
Returns the json representation of the input Model(s).
|
static String |
toJsonBulk(Model[]... modelsArrays)
Returns the json representation of the input Model(s).
|
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionpublic static String toJson(Model... models) throws com.fasterxml.jackson.core.JsonProcessingException
models - : models to be converted to json.com.fasterxml.jackson.core.JsonProcessingExceptionpublic static String toJsonBulk(Model[]... modelsArrays) throws com.fasterxml.jackson.core.JsonProcessingException
modelsArrays - : arrays of models to be converted to json.com.fasterxml.jackson.core.JsonProcessingExceptionCopyright © 2015. All rights reserved.