Create JSONHandler
This class will be used to handle all calls to a JSONObject. It also easily allows a prefix to be added onto each calll. It returns Optional's in case if the field is not present in the API.
Implement JSONHandler into HypixelPlayer and HypixelGames.
JSONHandler
This class will be used to handle all calls to aJSONObject
. It also easily allows a prefix to be added onto each calll. It returnsOptional
's in case if the field is not present in the API.JSONHandler
intoHypixelPlayer
andHypixelGames
.Optional
's.