String jsonString = JSON.toJSONString(map); Equiptype equiptype = JSON.parseObject(jsonString,Equiptype.class);