is cast() case sensitive ?

Hello,

When I'm trying to cast JSON to CDT it populates data from that response to cdt object only of field names are exactly same in both json and CDT. e.g.

if json response is:

{

  "firstName" : "Abc",

  "LastName": "Xyz"

}

and CDT is having two fields

  • firstName
  • LASTNAME

after cast to the cdt it populates only "Abc"

is there any way to ignore case sensitivity ?

  Discussion posts and replies are publicly visible