Skip to content

Commit

Permalink
Added INDENT_OUTPUT
Browse files Browse the repository at this point in the history
  • Loading branch information
bnayfeh committed Nov 7, 2024
1 parent eb10535 commit 23c62de
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@
import retrofit2.Response;
import retrofit2.Retrofit;
import retrofit2.converter.jackson.JacksonConverterFactory;
import static com.fasterxml.jackson.databind.SerializationFeature.INDENT_OUTPUT;

class SearXNGClient {
private static final ObjectMapper OBJECT_MAPPER = new ObjectMapper();
private static final ObjectMapper OBJECT_MAPPER = new ObjectMapper().enable(INDENT_OUTPUT);
private SearXNGApi api;

public SearXNGClient(String baseUrl, Duration timeout) {
Expand Down

0 comments on commit 23c62de

Please sign in to comment.