 ) ) ; ObjectMapper objectMapper = new ObjectMapper ( ) ; Response response = null ; try { response = objectMapper. readValue ( weatherResponse. text ( ) , Response. class ) ; } catch ( IOException e ) { e. printStackTrace ( ) ; } return response ; } public Response handleRequest(Request request, Context context) { Get weatherResponse = Http.get(buildEndpoint(