I have a json like this:
"[
[\"DBS\",1,[
[1,1,1,\"A\",\"C\",1],
[1,2,1,\"B\",\"C\",0]
]
],
[\"DBS\",2,[
[1,1,1,\"A\",\"C\",1],
[1,2,1,\"B\",\"C\",0]
]
]
]"
I want to mapping this string to object java,Please tell me how to do?
I've already use this tips, but didn't work. How to convert string array to object using GSON/ JSON?
>() {}.getType(); List yourList = gson.fromJson(stringResponse, type);
– Aditya Rahman Sidqi Aug 04 '23 at 08:04