Issue
This case is in the JS version (Properties.decodeFromMap (map)), but for android, I have not seen.
It can also be solved using Jackson
The object in which I should get a rather complex type, the approximate form of the fields is much larger
data class BaseModel (val value: String,val options: Options,val type: Type ...)
The main thing I need to get directly from Map <String, Any>
in BaseModel
Solution
I think it's better to use the properties from the kotlinx-serialization-properties package, it turns out that it is also distributed for android
Answered By - Divider
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.