I am trying to parse json string to HashMap using json.decode(myString) but I am getting an error.
The following is my json string:
{ 'id':'5043' , 'artist':'Axwell Λ Ingrosso' , 'title':'More Than You Know' , 'displayName':'FDM Axwell Ingrosso.mp3' , 'duration':'203050', 'path':'/storage/emulated/0/UCDownloads/FDM_Axwell_Ingrosso.mp3' } I am using jsong.decode(aboveString) to convert but I am getting the following error:
FormatException: Unexpected character (at character 2) {'id':'5043' ,'artist':'Axwell Λ Ingrosso' ,'title':'More Than You Know'