How to add a range of values in a Json and return the objects that are in that range
I am trying to create a method in my Controller class to return a list of Locations I want to give it a range of latitudes and longitudes and return locations that fall in that list. Currently the Get methon in my controller class looks like @GetMapping public ResponseEntity<List<Location>> searchLocations( @RequestParam(required = false) Location.LocationType type,… Read More How to add a range of values in a Json and return the objects that are in that range