Json Request cannot map empty values into Clipboard

I have a Service REST that receives this json request:

{
“input”: {
“msisdn”: “1234567890”
},
“output”: {
“attributi”: {
“tecnologia”: “”,
“prepagato”: “example”
}
}
}

On the Clipboard, in Attributi class, I see only prepagato property is shown, while tecnologia property is not shown (see clipboard.jpg attached). My need is to also show the empty properties, as tecnologia.

I made the following attempts:

  1. on Service REST, in Request tab, i set Map to=“JSON” and Mapping Method=“Use legacy method”
  2. on Service REST, in Request tab, i set Map to=“JSON” and Mapping Method=“Use JSON data transformation”, using Data Transform of the attached image (jsonDT.jpg)
  3. on Service REST, in Request tab, i set Map to=“JSON” and Mapping Method=“Use legacy method”, and in Activity called by Service REST I Used Data Transform of the attached image (jsonDT.jpg) and then I executed pxConvertStringToPage(tools, myStepPage,Param.jsonData, “json”)

For steps 2 and 3 I verified that in Param.jsonData empty properties are correctly present:
{“input”:{“msisdn”:“1234567890”},“output”:{“attributi”:{“tecnologia”:“”,“prepagato”:“example”}}}

All 3 attempts gave the same result (empty properties are not shown).

How can I show empty properties in the Clipboard?

@LucaV501 Found this: Control empty behavior in your JSON data transform (8.5) | Pega so, I would expect that you’d have to change the empty behaviour to ‘Null’.

@BasRulesMatter! thanks but I had already done a test with the solution indicated in the link you provided me, and after your answer I did other tests, all with negative results.
The empty property is visible in Param.jsonData but not in the Clipboard.

I solved it using the @PropertyExists function.
Even if the empty properties are not visible on the clipboard Page, the @PropertyExists(“tecnologia”) function applied on the Step Page output.attributi correctly returns “true” if the property is present in the request json message.