I'm making a json file where I will store data for multiple players in a game. Since I obviously don't want duplicates of the same player , I want to check if the player is already registered in the json file by looking for his/hers name. What's the best way of going about doing this? I only need to know if the player is mentioned, not where or how many thimes.
Sorry if this is a simple task, I'm quite new to java. Any help is appreciated!