Is there a way to convert an object containing a map to JSON without losing the map data? When I use JSON.stringify(), the map data gets cleared. How can I solve this issue?
frieghtChargesJSon:string; //declared variable frieghtChargesJSon=JSON.stringify(frieghtChargeInfo)
I need to convert the entire object to JSON, not just the map. Any suggestions on how to achieve this?