I'm writing a method which should concatenate two strings(that are result of json stringify) into one string(which should look like json object with it's structure).
First one :
{"text":"klk","makeId":"9"}
Second one:
{"firstname":"jjk","lastname":"jkjk","email":"[email protected]"}
How do I concatenate these two into one json string i.e :
{"text":"klk","makeId":"9", "firstname":"jjk","lastname":"jkjk","email":"[email protected]"}
I could strip {" and "} then split by comma and achieve this result. I'm wondering is there better more smart way to do this?