Package io.jans.as.model.json
Class JsonApplier
- java.lang.Object
-
- io.jans.as.model.json.JsonApplier
-
public class JsonApplier extends Object
- Version:
- April 25, 2022
- Author:
- Yuriy Zabrovarnyy
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(Object source, Map<String,String> parameters)
void
apply(Object source, org.json.JSONObject target)
void
apply(org.json.JSONObject source, Object target)
void
apply(org.json.JSONObject source, Object target, PropertyDefinition property)
static JsonApplier
getInstance()
static List<String>
getStringList(org.json.JSONArray jsonArray)
Object
invokeReflectionGetter(Object obj, String variableName)
void
invokeReflectionSetter(Object obj, String propertyName, Object variableValue)
void
transfer(Object source, Object target)
Transfer between two java objects
-
-
-
Method Detail
-
getInstance
public static JsonApplier getInstance()
-
apply
public void apply(Object source, org.json.JSONObject target)
-
apply
public void apply(org.json.JSONObject source, Object target)
-
apply
public void apply(org.json.JSONObject source, Object target, PropertyDefinition property)
-
invokeReflectionSetter
public void invokeReflectionSetter(Object obj, String propertyName, Object variableValue)
-
-