I receive the following response from JSON.
{"Account":"{\"attributes\":{\"type\":\"Account\",\"url\":\"/services/data/v47.0/sobjects/Account/0014T000005aUbQQAU\"},\"FieldId__c\":\"0010I00002L0WNiQAN\",\"Id\":\"0014T000005aUbQQAU\"}"}
If I would want to convert this to a string,
String myJson = '{"Account":{"attributes":{"type":"Account","url":"/services/data/v47.0/sobjects/Account/0014T000005aUbQQAU"},"FieldId__c":"0010I00002L0WNiQAN","Id":"0014T000005aUbQQAU"}}';
How do I convert this so I can use it in the statement -
Map<String,Object> mapresp = (Map<String,Object>)JSON.deserializeuntyped(myJson);