Skip to content

Files

Latest commit

Apr 14, 2025
0ce435d · Apr 14, 2025

History

History

moshi

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Nov 4, 2024
Sep 25, 2023
Apr 14, 2025

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");