@@ -59,7 +59,9 @@ public class UsosApiService {
|
|||||||
try (Response response = service.execute(request)) {
|
try (Response response = service.execute(request)) {
|
||||||
System.out.println("TRY");
|
System.out.println("TRY");
|
||||||
final String json = response.getBody();
|
final String json = response.getBody();
|
||||||
if (json != null){
|
System.out.println(json == null);
|
||||||
|
System.out.println(json == "null");
|
||||||
|
if (json != "null" && json != null){
|
||||||
System.out.println(json);
|
System.out.println(json);
|
||||||
System.out.println("Przed Object");
|
System.out.println("Przed Object");
|
||||||
final ObjectMapper mapper = new ObjectMapper();
|
final ObjectMapper mapper = new ObjectMapper();
|
||||||
|
Reference in New Issue
Block a user