Maybe consider using gson? (<https://github.com/go...
# android
t
Maybe consider using gson? (https://github.com/google/gson) I don't know if it suits your needs but with it you'll be able to deserialize a JSON object into the type you want
val obj = Gson().fromJson(jsonString, type)