Rename payload fields

Hi,

I want to rename the fields from json payload and want to restructure the out:

E.g. my current output is:

{"OUTPUT_AREA" :

{"fieldname1": value1

"fieldname2": value2

}

{"fieldname1": value3

"fieldname2": value4

}

}

I would like to change names of the json payload variables to

{"business_term":

{ "busterm1": value1

"busterm2": value2

}

{

"busterm3": value1

"busterm4": value2

}

What is the best way to do this? Can I use a policy to rename payload fields?

0 1 207
1 REPLY 1

Not applicable

you can use javascript policy and replace the fields as required. Other than this java and python extensions can be used.