I had a json string in mysql database like following.
{"name":"Georg","position":"Manager"}
I need to add another attribute like "date_of_birth":"1989-06-08"
You can also use JSON_INSERT function:
SELECT JSON_INSERT(@`json`, '$.date_of_birth', '1989-06-08');
See dbfiddle.