Feign makes writing java http clients easier
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Vik b5e6809ff6
Add Moshi (#2182)
1 year ago
..
src Add Moshi (#2182) 1 year ago
README.md Add Moshi (#2182) 1 year ago
pom.xml Add Moshi (#2182) 1 year ago

README.md

Moshi Codec

This module adds support for encoding and decoding JSON via the Moshi library.

Add MoshiEncoder and/or MoshiDecoder to your Feign.Builder like so:

GitHub github = Feign.builder()
                     .encoder(new MoshiEncoder())
                     .decoder(new MoshiDecoder())
                     .target(GitHub.class, "https://api.github.com");