Package de.xima.fc.web.common.request
Class JSONRequester
- java.lang.Object
-
- de.xima.fc.web.common.request.JSONRequester
-
public final class JSONRequester extends Object
Übergebenen JSON-Daten vom Typ JSONObject in Liste von ValueDescriptoren umwandeln
-
-
Constructor Summary
Constructors Constructor Description JSONRequester(ITransferableEntity transferableEntity, Class<? extends ITransferableEntity> entityClass, String jsonData)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ITransferable
extractValuesFromJSON(UserContext uc)
static Object
getValue(com.alibaba.fastjson.JSONObject jsonObj, String key)
-
-
-
Constructor Detail
-
JSONRequester
public JSONRequester(ITransferableEntity transferableEntity, Class<? extends ITransferableEntity> entityClass, String jsonData)
-
-
Method Detail
-
extractValuesFromJSON
public ITransferable extractValuesFromJSON(UserContext uc) throws JSONRequesterException
- Throws:
JSONRequesterException
-
-