Question
3
Replies
42
Views

Bluerose Technology
IN
Posted: 2 weeks 5 days ago
Last activity: 2 weeks 4 days ago
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?