superfell/json2apex

If explict parsing code is enabled, should rename vars that clash with keywords.

superfell opened this issue · 1 comments

e.g. if there's a json key of "List", we can use list for the Json key,but list_x as the actual variable. this'll fix compile errors when there are naming clashes with keywords.

see http://salesforce.stackexchange.com/questions/92843/apex-rest-response-with-reserved-words/93338?stw=2#93338 for an example.

fized in d256e74