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
after cast to the cdt it populates only "Abc"
is there any way to ignore case sensitivity ?
Discussion posts and replies are publicly visible
Hi tushark,
cast() is not a case sensitive..
if you want convert json to respective cdt we can use below code.
load( local!jdata: {
},
cast(typeof('type!{urn:com:appian:types}employeedetails'()),local!jdata))
it will work.
Regards,
Bhanu,