Skip to content

Retrofit integration #12

Description

@johnjohndoe

I would like to use your library with Retrofit. This requires a converter factory which is used to introduce the parser to Retrofit.

// Retrofit 2 example with Gson
new Retrofit.Builder()
    .baseUrl("https://raw.githubusercontent.com")
    .addConverterFactory(GsonConverterFactory.create())
    .build();

You can find Retrofit converters for other parsers here and use them as a starting point. It would be great if you can provide the converter factory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions