public static void main(String... args) {
    GitHub github =
        Feign.builder().decoder(new JsonDecoder()).target(GitHub.class, "https://api.github.com");

    System.out.println("Let's fetch and print a list of the contributors to this library.");
    JSONArray contributors = github.contributors("netflix", "feign");
    contributors.forEach(
        contributor -> {
          System.out.println(((JSONObject) contributor).getString("login"));
        });
  }
adapted from {@code com.example.retrofit.GitHubClient}
json/src/test/java/feign/json/examples/GitHubExample.java