Class JsonApplier


  • public class JsonApplier
    extends Object
    Version:
    April 25, 2022
    Author:
    Yuriy Zabrovarnyy
    • 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)
      • transfer

        public void transfer​(Object source,
                             Object target)
        Transfer between two java objects
      • getStringList

        public static List<String> getStringList​(org.json.JSONArray jsonArray)
      • invokeReflectionSetter

        public void invokeReflectionSetter​(Object obj,
                                           String propertyName,
                                           Object variableValue)
      • invokeReflectionGetter

        public Object invokeReflectionGetter​(Object obj,
                                             String variableName)