if (jsonobject.has("weaponInfo")) {
JSONObject weaponObj = jsonobject.getJSONObject("weaponInfo");
JSONObject damageObj = weaponObj.getJSONObject("damage");
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"));