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
{{ message }}
This repository has been archived by the owner on Dec 3, 2020. It is now read-only.
Hi, just noticed an issue while using nested types e.g.
data class User(val id: String)
val a = gson.fromJson<List<List<User>>>("[\n" +
" [\n" +
" {\n" +
" \"id\": \"u-abcd\"\n" +
" }\n" +
" ]\n" +
"]\n")
Expecting a to be of type ArrayList<ArrayList<User>>> however I'm getting ArrayList<ArrayList<LinkedTreeMap<etc... as per Gson>>> It looks like it's not getting past the 'first' level generic type.
The text was updated successfully, but these errors were encountered:
Hi, just noticed an issue while using nested types e.g.
Expecting
a
to be of typeArrayList<ArrayList<User>>>
however I'm gettingArrayList<ArrayList<LinkedTreeMap<etc... as per Gson>>>
It looks like it's not getting past the 'first' level generic type.The text was updated successfully, but these errors were encountered: