Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 444 Bytes

File metadata and controls

16 lines (12 loc) · 444 Bytes

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:

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