Question
Bluerose Technology
Bluerose Technology
IN
Bluerose Technology
Posted: May 10, 2023
Last activity: May 11, 2023
Last activity: 11 May 2023 12:42 EDT
Solved
Json-Service Response
Hi Team,
When we give a response as a Page on, Pega converts the property name as a tag and is surrounded by "", and value also in between "". eg: response.pyFirstName = suresh. then response like { "pyFirstName" : "suresh"}.
so if I want a tag like FirstName, so it has become obvious to create a property in that class, I can't achieve re-usability. Instead of property-name can we pass the label of the property as a tag?
Is there any way to do that?