Salesforce Idiosyncrasies

When deserializing JSON objects passed into a REST end-point, Salesforce deserializes while keeping the case sensitivity of the fields’ names.

If you take those fields, and compare them to the fields returned by something like Schema.SObjectType.Contact.fields.getMap(), without manually lower-casing the field names, they’ll never matchup.


This seems like odd and inconsistent behavior but as long as you’re aware of it, it’s easy to correct for.