Question

11
Replies
1286
Views
Close popover
Imran Beig Noorulla Beig (IMRANBEIG)
S&P Global Inc
Software Engineer
S&P Global Inc
US
IMRANBEIG Member since 2012 15 posts
S&P Global Inc
Posted: October 12, 2018
Last activity: December 11, 2019
Closed

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-json-for-empty-vs-null/9623521

"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
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.