I have the following objects in an
and a value in this object is illustrated as the numbers at the beginning, which are
I need to create a
object, whose key should be the id of lists and whose values should be the list objects. At the end of the day, I would like to have a Map something like that.
I have already solved this problem with two for loops and lots of
statements but it seems very ugly to me.
Any cleaner solution would be appreciated.