-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Converters
Jake Wharton edited this page Oct 15, 2015
·
20 revisions
Retrofit is pluggable allowing different serialization formats and their libraries to be used for converting Java types to their HTTP representation and parsing HTTP entities back into Java types.
These are called converters, and Retrofit includes a few first-party modules for popular frameworks:
-
Gson -
com.squareup.retrofit:converter-gson
-
Jackson -
com.squareup.retrofit:converter-jackson
-
Moshi -
com.squareup.retrofit:converter-moshi
-
Protobuf -
com.squareup.retrofit:converter-protobuf
-
Wire -
com.squareup.retrofit:converter-wire
-
Simple Framework -
com.squareup.retrofit:converter-simpleframework
Various third-party converters have been created by the community for other libraries and serialization formats:
- TODO!