public interface JsonCreator
| 限定符和类型 | 方法和说明 |
|---|---|
String |
createJson(DataModel dataModel,
String namespace,
String id)
create json string
|
String |
createJson(DataModel dataModel,
String namespace,
String id,
boolean isPretty)
create json string
|
void |
printJson(com.fasterxml.jackson.core.JsonGenerator generator,
DataModel dataModel,
String namespace,
String id)
to JsonGenerator output json
|
String createJson(DataModel dataModel, String namespace, String id)
dataModel - data modelnamespace - namespaceid - jsonview idString createJson(DataModel dataModel, String namespace, String id, boolean isPretty)
dataModel - data modelnamespace - namespaceid - jsonview idisPretty - pretty json when the value is trueCopyright © 2016. All rights reserved.