|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.document.modules.ckan.service.MapperService
public final class MapperService
Mapper Service
| Method Summary | ||
|---|---|---|
static
|
getJson(T bean)
Transform the model into a JSON String |
|
static
|
readJson(String strJson,
Class<T> clazz)
Read a JSON String to fill a model |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <T> String getJson(T bean)
T - The bean classbean - The bean object
public static <T> T readJson(String strJson,
Class<T> clazz)
T - The class of the beanstrJson - The JSON Stringclazz - The class of the bean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||