Question
1
Replies
59
Views
Posted: September 28, 2020
Last activity: September 29, 2020
Extract information from a text property that contains a JSON
Hello everyone,
I would like to know how can I extract the information form a Text property that contains a JSON text? The property contains this JSON:
{"title" : "Test title", "Url" : "http://www.test.com", "Category" : "Testing"}
I have to map those 3 values to 3 different properties.
Thank you,
Josué Dávila
***Edited by Moderator: Pallavi to update platform capability tags***
Hi ,
You can use below function and pass the your json string and page where you want to extract the data
@(Pega-RULES:Page).pxConvertStringToPage(tools,myStepage,Param.Inputparam,"json")
Thanks,
Deva