public static void saveAdventurer(Adventurer adventurer) throws IOException {
        try {
            List<Adventurer> adventurers = new ArrayList<>();
            adventurers = getAllAdventurer();

            boolean found = false;
            for (int i = 0, end = adventurers.size(); i < end; i++) {
                if (adventurers.get(i).getName().equals(adventurer.getName())) {
                    adventurers.set(i, adventurer);
                    found = true;
                    break;
                }
            }
            if (!found) {
                adventurers.add(adventurer);
            }

            objectMapper.writerWithDefaultPrettyPrinter().writeValue(new File(SAVE_FILE_PATH), adventurers);
        } catch (IOException ex) {
            Logger.getLogger(JsonDao.class.getName()).log(Level.SEVERE, null, ex);
        }
    }