Question

11
Replies
1131
Views
IMRANBEIG Member since 2012 15 posts
S&P Global Inc
Posted: 1 year ago
Last activity: 9 months 2 weeks ago

Issue with setting Null Type at JSON request

Hi All,

I am consuming a Service through Connect-REST for which i have to sent value for different types of properties( Integer, Text, Boolean) which is mandatory. if i don't have value i am supposed to null with out quotes but when i am forming my request the null is going with quotes which is not accepted by service.

When i checked in JASON standard, there is some type call null to handle this. please find the below link and details for this

https://stackoverflow.com/questions/9619852/what-is-the-convention-in-j…

"Strings, Booleans and integers do not have an 'empty' form, so there it is okay to usenull values. "JSON has a special value called null which can be set on any type of data including arrays, objects, number and boolean types."

Is it possible to achieve this in Pega? please help us on this, this is impacting our development activities. We are using Pega 7.1.7 version.

Data Integration
Share this page LinkedIn