You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Retrofit will use a string converter to convert each Map to a string output for the URL. So it's supported in that sense, but there's no explicit support for maps inside a query param. If you need custom formatting register your own string converter. For more information you can ask questions on StackOverflow with the 'retrofit' tag and more information about the desired result.
like this:
@get("parents/{parent_id}/clazzs/{clazz_id}/xxx.json")
Call<List> getComments(@path("parent_id") String parentId,
@path("clazz_id") String clazzId,
@query("comment_updates[]") List<Map<String, String>> dataMap);
this will convert ":" to "=" of map in json
this is error log:unexpected token at '{clazzroom_record_id=254523, last_updated_at=2017-07-06 18:08:29}'
thx~
The text was updated successfully, but these errors were encountered: