{
1:' {name} testing for 1 ',
2:'{name} testing for 2 ',
3:'{name} testing for 3 ',
4:'{name} testing for 4 ',
5:'{name} testing for 5 '
}
suppose I have above json data in some file now, I want to import it to some other file and want to change all the occurrence of {name}
to Joye
.
can anyone help me with the efficient way.
As one way is we can get the data in some variable and convert it into string and then replace it, but I was looking if we can pass some parameter to json file and it could change or something similar.