If it is a string, you can just search for the specified values and concat the new string.
If it is a JSON Object, you could add new Values to the JSON Object and search for the values you want to manipulate and set them new.
What are you doing at the moment? Can you show us some code, so we know, where exactly you have the problem? And show, how you are accessing the JSON in this code, please.