Damage damage = new Damage();
damage.setMinDamage(damageObj.getInt("min")); // minDamage
damage.setMaxDamage(damageObj.getInt("max")); // maxDamage
WeaponInfo weaponInfo = new WeaponInfo();
weaponInfo.setDamage(damage);
weaponInfo.setWeaponSpeed(weaponObj.getDouble("weaponSpeed"));
weaponInfo.setDps(weaponObj.getDouble("dps"));
item.setWeaponInfo(weaponInfo);
}
item.setInventoryType(jsonobject.getInt("inventoryType"));