public static void extractFromJSON(Class<?> targetClass, Object targetObject, JSONObject userObject) {
		Field[] fields = targetClass.getFields();
		for(Field f : fields) {
			try {
				f.set(targetObject, userObject.get(f.getName()));
			} catch (IllegalArgumentException e) {
				e.printStackTrace();
			} catch (IllegalAccessException e) {
				e.printStackTrace();
			} catch (JSONException e) {
				e.printStackTrace();
			}
		}
	}