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
|
1 year ago | |
---|---|---|
.. | ||
src | 1 year ago | |
README.md | 1 year ago | |
pom.xml | 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");