Beispiel #1
0
        public static CustomField fromJson(JSONObject obj) {
            CustomField field = new CustomField();

            field.id = obj.getString("id");
            field.name = obj.getString("name");
            field.type = obj.getString("type");
            field.options = obj.getString("seloptions");

            return field;
        }