Hi, I have a Kotlin Json serialisation challenge I...
# random
t
Hi, I have a Kotlin Json serialisation challenge I have the following JSON I need to consume The Json can take one of three formats/structures I can cope with Formats 1 & 2, I have no idea to also consume format 3 is it possible to consume all three formats
Untitled.js
r
I don't understand, what's the problem having "1","2", etc lists turn into objects?
t
@rtsketo Hi, thanks for looking at my issue, I can only have one Kotlin searilastion data model and it copes with Format 0001 & 0002 neither of which are anything like FORMAT 0003 How can I have one data model that copes with all three formats of the Json I am recieving from the backend server?