Question

3
Replies
438
Views
Devarajulu Prathapaneni (Deva_Prathapaneni)
Cognizant
Tech Lead
Cognizant
SE
Deva_Prathapaneni Member since 2014 30 posts
Cognizant
Posted: June 8, 2020
Last activity: 1 week 1 day ago
Posted: 8 Jun 2020 2:42 EDT
Last activity: 15 Jun 2021 12:59 EDT

How to remove empty properties from REST JSON response

Hi All,

We have exposed REST service from pega but in response we are sending empty object, properites as below. Please let me know if any ootb metionds to remove blank values. 

 

{"name":"Deva","education":{},"rollNo"123123","phoneNumbrer":""}

 

 

Thanks,

Deva. 

***Edited by Moderator: Pallavi to update platform capability tags***

Pega Platform 8.1.7 Decision Management Data Integration Financial Services Decisioning Consultant