I have a list in scala , where the structure of the list is :
[‘A:abc’,’B:hgfff’, ‘C’:khfas’ …] it’s a big list.
I want to convert it to a dictionary like :
d={‘A’:’abc’,’B’:’hgfff’,’C’:’khfas’}
Kindly help with scala code to get it
Expecting scala code to complete it.