I have read many posts regarding this but I m not able to to deserialize the data . So please can anyone help me with it. serialized data:
"fieldlist" : JSON.stringify(selfield)
but I m not able to deserilaize it and also store it to list.
String lststr; lststr=(string)JSON.deserialize(fieldlist,String.class); System.debug('lststr'+lststr); List<String> lstAlpha = fieldlist.split(','); System.debug('lstAlpha'+lstAlpha);
This is the code I am trying but there is no value coming in lststr
This is the form of my fieldlist value Any suggestions are welcome