Back to Feign

README

json/README.md

13.12443 B
Original Source

JSON-java Codec

This module adds support for encoding and decoding JSON via JSON-java.

Add JsonEncoder and/or JsonDecoder to your Feign.Builder like so:

java
api = Feign.builder()
           .decoder(new JsonDecoder())
           .encoder(new JsonEncoder())
           .target(GitHub.class, "https://api");