Proba naprawienia
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
parent
a25843ebfd
commit
bbf14b0ff9
@ -60,7 +60,9 @@ public class UsosApiService {
|
||||
try (Response response = service.execute(request)) {
|
||||
System.out.println("TRY");
|
||||
final String json = response.getBody();
|
||||
System.out.println("Przed Object");
|
||||
final ObjectMapper mapper = new ObjectMapper();
|
||||
System.out.println("Przed mapą");
|
||||
Map<String, String> map = mapper.readValue(json, new TypeReference<Map<String, String>>() {
|
||||
});
|
||||
System.out.println(map.size());
|
||||
|
Loading…
Reference in New Issue
Block a user