Skip to content

Files

Latest commit

8418547 · May 15, 2025

History

History

retrofit-converters

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Apr 6, 2025
Mar 20, 2025
May 12, 2025
May 29, 2024
May 29, 2024
May 29, 2024
May 15, 2025
Feb 28, 2025
May 12, 2025
May 29, 2024
May 29, 2024
Feb 28, 2025
Mar 11, 2016

Retrofit Converters

Retrofit ships with support for OkHttp's RequestBody and ResponseBody types but the library is content-format agnostic. The child modules contained herein are additional converters for other popular formats.

To use, supply an instance of your desired converter when building your Retrofit instance.

Retrofit retrofit = new Retrofit.Builder()
    .baseUrl("https://api.example.com")
    .addConverterFactory(GsonConverterFactory.create())
    .build();