public final class MapperService extends Object
Modifier and Type | Method and Description |
---|---|
static <T> String |
getJson(T bean)
Transform the model into a JSON String
|
static <T> T |
readJson(String strJson,
Class<T> clazz)
Read a JSON String to fill a model
|
public static <T> String getJson(T bean)
T
- The bean classbean
- The bean objectCopyright © 2016 City of Paris. All rights reserved.