Modify single JSON attribute

I need to modify a single value in a JSON API response (just change the name attribute) so I can use it for a PUT request.

Currently, I’m using the built in Text Parser tool to simply find the current name value and change it with the new one, but I’m hoping there’s a better way to simply use a parsed JSON collection, specify a change to one attribute, and use it as the body for a PUT HTTP request.

Is there a built in tool that I can use to modify a single (or multiple) values in a json object (parsed as a collection) and use the entire modified object as a PUT payload body in a new HTTP module?

Hi. Create a new json and change what you need. It’s working too!

Don’t hesitate to contact us if you require further assistance.

Cheers
//HFBR

1 Like

Thanks, worked perfect! Just mapped all the appropriate values and got a JSON string I could use. Much cleaner and more reliable that my solution :slight_smile: