Update JSON Object with Out converting to Clipboard

How to update jSON Object(its big JSON) with out converting to clipboard?In below example ,“Active” to false when “Name” is Hari?

{
“ID”: “1”,
“City”: “texas”,
“Name”: “Pega”,
“Mandatory”: false,
“Active”: true,
“Child”: [
{
“ID”: “3243”,
“Address”: “Arizona”,
“Name”: “Hari”,
“Mandatory”: false,
“Active”: true,
“Price”: [
{
“Name”: “Simplr”,
“Price”: “-10”
}
],
“ChildEntities”: “0”,
“ActiveChildEntities”: “0”
}
],
“ChildEntities”: “0”,
“ActiveChildEntities”: “1”
}

@HariSureshBabuG6994 To update a JSON object without converting it to clipboard, you would need to use a custom Java or JavaScript function. This function would parse the JSON, find the object where “Name” is Hari, and set “Active” to false. Pega does not provide out-of-the-box activities for this.

:warning: This is a GenAI-powered tool. All generated answers require validation against the provided references.

Removing empty properties from json respone