So my previous question was pretty bad so I am editing this question.
I have object/json like this
{
"title": "Hello {USER}",
"description": "Today you earned {AMOUNT} dolars
}
I'm sending this data to api so it gives returns an special message. But the problem is I need to replace {USER} and {AMOUNT} without needing to get values, change it and reassign it or etc. It's like replace but for objects so without changing object and doing complicated things I can dynamicly change {USER} and {AMOUNT} User comes from the api and AMOUNT is a random number I just need to change the {} brackets without complicating things too much