Suppress properties in Json String
Hi All
For one of the requirements I need to send the case data to an external service as JSON String.
I am converting the whole pyWorkPage to a JSON string using below code. The conversion happens when the case is resolved.
---------------------------------
PublicAPI tools = (PegaAPI) ThreadContainer.get().getPublicAPI();
ClipboardPage stepPage = tools.getStepPage();
retValue = stepPage.getJSON(false);
------------------------------
The above code works well and returns the JSON string. Now I want to remove few Pega OOTB (Some px,py,pz properties) properties from the JSON before sending it to service.
Is there anything which Pega provides OOTB or we need to write a custom code?
I am using Pega 7.4 version.
Regards
Bhavya