Skip to main content
3 votes
Accepted

JSON.serialize() Map<String, Object> changes Map structure

JSON doesn't know about Apex data types. The JSON library in Apex, therefore, has to be told if you want to use a specific DTO-like object. For example, if all the attributes were sObject entries, you ...
sfdcfox's user avatar
  • 491k

Only top scored, non community-wiki answers of a minimum length are eligible