Null conversion in a!tojson
For my service integration, i have to send the request in json format.
I am converting my nested CDT into json format by using a!tojson function.
Here the issue is my service has some optional input parameters and when i am passing null for those parameters, a!tojson is converting them to "" (double quotes).
My service is not accepting the "", i should pass Null.
a!toJson(
'type!{urn:com:appian:types}_testCDT'(
name: "ram",
age: Null,
place: ""
)
)
json looks like :
{
"sampleName" : "Test",
"Organization" : {
"Name" : "TestName",
"Branch" : ""
}
}
here Branch value should be Null instead of "".
Thanks in advance.

