New answers tagged

0 votes

How to deserialize JSON to a class where the same variable name has different data types?

maton, anyone who encounters this use case, I had a similar use case. I ended up opensourcing my take on this https://github.com/gaelmotte/apex-json-serialization After deploying, your code can be ...
Gael Motte's user avatar
1 vote

Sort Map results

Maps and Sets in Apex have a deterministic order, which means that the order you put elements in them is the order they are iterated over. For example: Map<String, String> testMap = new Map<...
fred's user avatar
  • 2,270

Top 50 recent answers are included