Retrofit2JSONConverterFactory

JSONConverterFactory for Retrofit 2. You can use:

  • org.json.JSONArray
  • org.json.JSONObject

as response type.

Retrofit.Builder().addConverterFactory(JSONConverterFactory.create())