This module adds support for encoding and decoding JSON via JSON-java.
Add JsonEncoder
and/or JsonDecoder
to your Feign.Builder
like so:
api = Feign.builder()
.decoder(new JsonDecoder())
.encoder(new JsonEncoder())
.target(GitHub.class, "https://api");