Just call in the callback a list of Strings and it should do the job…
new Callback<List<String>>().
More Related Contents:
- How to handle Dynamic JSON in Retrofit?
- Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $
- Retrofit2.0 gets MalformedJsonException while the json seems correct?
- MalformedJsonException with Retrofit API?
- How to create custom GsonConverter from following response?
- Get nested JSON object with GSON using retrofit
- Retrofit 2: Get JSON from Response body
- Retrofit Expected BEGIN_OBJECT but was BEGIN_ARRAY
- Using GSON to parse a JSON with dynamic “key” and “value” in android
- Parse Dynamic Key Json String using Retrofit
- “Unparseable date: 1302828677828” trying to deserialize with Gson a millisecond-format date received from server
- Parse JSON array response using Retrofit & Gson
- Unable to create converter for my class in Android Retrofit library
- Trying to fix NetworkOnMainThreadException but gives Toast error
- How to get response as String using retrofit without using GSON or any other library in android [duplicate]
- Getting Header from Response (Retrofit / OkHttp Client)
- How can Retrofit 2.0 parse nested JSON object?
- How to handle parameters that can be an ARRAY or OBJECT in Retrofit on Android?
- Retrofit GSON serialize Date from json string into java.util.date
- Making a listview from JSON array
- Simple parse JSON from URL on Android and display in listview
- How to Parse a JSON Object In Android
- Gson – convert from Json to a typed ArrayList
- Reading a json file in Android [closed]
- org.json.JSONObject cannot be converted to JSONArray in android
- Get JSON Data from URL Using Android?
- How to dynamically set headers in Retrofit (Android)
- conversion from string to JSON object Android
- how to get spinner values in textview
- Unexpected response code 500 for POST method