Sample Json Request
{ "firstName": "George", "lastName": "Stephen" }
Sample Json Response
{ "id": "123", "firstName" : "George", "lastName" : "Stephen" }
I want to do insert id value into Response Json without doing one to one mapping in dataweave ( I already have the working solution which does one to one mapping in dataweave and 2) using groovy component).
My Original JSON Request is huge and lots of non-mandatory field that's why i am experimenting this way.