Replace text in json file and save the files

I have a json file which contains a bunch of credentials which are taken from user using uipath and need to be saved in the json file, so how can i do it?


in this aaa,bbb,ccc,1111,ddd,eee,fff,ggg is the replacable text
this all should be replace with whatever the user is entering


Although we can directly rewrite these text with string manipulation, I recommend using JObject as the following.


Note: Please install UiPath.Web.Activities package to use JObject


1 Like

that worked thankyou :slight_smile:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.